[SOLVED] File Sync

Hello, I was wondering if anyone knew of a program like synkron, but that allows for a recurring schedule? I know the simplest thing would be to set a cronjob, but i've had varying success with cron and want something more reliable (in my usage).
Essentially I'm trying to create a backup that copies entire files and folders as is to another drive.
Thank you for your time!
Last edited by Somnus (2013-09-30 01:48:41)

[zach@archlinux ~]$ systemctl status cronie.service
cronie.service - Periodic Command Scheduler
Loaded: loaded (/usr/lib/systemd/system/cronie.service; enabled)
Active: active (running) since Sun 2013-09-29 17:00:25 EDT; 25min ago
Main PID: 298 (crond)
CGroup: /system.slice/cronie.service
└─298 /usr/bin/crond -n
But aha, journalctl shows
Sep 29 17:28:01 archlinux CROND[4969]: (zach) CMDOUT (cp: cannot create regular file '/mnt/MediaHDD/coldtown.mp3
Permission Denied)
I don't need sudo to move the file manually... is there something I need to do to give cronie permissions to do this?
EDIT: The code tag is cutting it off. Here's what it says:
Sep 29 17:28:01 archlinux CROND[4969]: (zach) CMDOUT (cp: cannot create regular file '/mnt/MediaHDD/coldtown.mp3 Permission Denied
Last edited by Somnus (2013-09-30 01:30:34)

Similar Messages

  • Offline Files sync gives Access Denied on Windows 8.1 Enterprise

    A small number of our staff have now been issued with Windows 8.1 Enterprise hybrid tablet computers, however there is a problem with using Offline Files on them - when synchronising, it responds "Access Denied".
    The tablets have Windows 8.1 Enterprise with all the latest updates on them. Staff users have a home folder on the network under \\server\staff\homes\departmentname\username which gets mapped to U: and their My Documents is redirected there. The server is currently
    Windows Server 2003 R2 SP2.
    We have tried:
    Resetting the Offline Files cache using the FormatDatabase registry key
    Using Group Policy Objects to force Offline Files synchronisation at logon and logoff
    Clearing the local cached copy of the user's profile from the machine and getting them to log back on to recreate it
    Setting up Offline Files event logging to the event viewer - this provides no useful information as it only logs disconnect/reconnect and logoff/logon events
    Forcing Group Policy update using gpupdate /force
    Forcing synchronisation using PowerShell and https://msdn.microsoft.com/en-us/library/windows/desktop/bb309189%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
    As suggested by http://support.microsoft.com/kb/275461 we gave the All Staff security group Read permissions on F:\Staff (which is the one that is shared as \\server\staff) and then blocked inheritance for folders below that
    We also checked the following:
    The CSC cache has not been relocated
    No error 7023 or event 7023 errors relating to Offline Files are present in the event logs
    The Offline Files service is running
    The OS is already Windows 8.1 Enterprise, so installing the Pro Pack is not applicable
    In HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\UserState\UserStateTechnologies\ConfigurationControls  all the values are set to 0 and not 1
    We do not use System Center Configuration Manager
    No errors were found in the Folder Redirection event logs
    None of these solved the problem, does anyone have any suggestions?
    Here is the error we are seeing:
    Thanks,
    Dan Jackson (Lead ITServices Technician)
    Long Road Sixth Form College
    Cambridge, UK

    Hi,
    Generally speaking, this problem is most probably occurs at File Server Client. 
    Firstly, please check the sharing file Sync Settings.
    Shared file properties\Sharing\Advanced Sharing\Caching 
    Also check shared file user list, make sure these problematic user account have full permission.
    On the other hand, could you able to access to the shared file directly in Windows Explorer?
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Yes, the user can access the shared folder in Windows Explorer. The user has the following permissions:
    Traverse Folder/Execute File
    List Folder/Read Data
    Read Attributes
    Read Extended Attributes
    Create Files/Write Data
    Create Folders/Append Data
    Write Attributes
    Write Extended Attributes
    Delete
    Read Permissions
    Here is a screenshot of how the Caching settings are set up on the top-level Staff share.

  • Log file sync waits - COMMIT class - Pattern observed

    I am running a performance test with 1 vUser for 24 hrs. Each time the user logs in, it logs in to my application as a different customer. All customers go through the same screens and perform the same operations.
    When I analyze the % Total CPU time, % User CPU and % Wait CPU, I see a strange pattern or behavior. % User CPU is pretty much flat for the entire duration of the test. However, % Total CPU and % Wait CPU have the same pattern as described below:
    - First 3 hrs 15 mins - high % Total CPU and % Wait CPU
    - Next 1 hr 15 mins - low % Total CPU and % Wait CPU
    - Next 3 hrs 15 mins - same as first 3 hrs 15 mins.
    - Next 1 hr 15 mins - same as the earlier 1 hr 15 mins
    ... and so on.
    I generated the awrddrpt - between two awrrpt - each of 1 hr duration. One of the 1 hr duration falls within the 3 hrs 15 mins time slice, and another 1 hr falls within the 1 hr 15 min time slice.
    I see that there is
    --> 40% difference in the wait time for log file sync events - 40% less in the 1 hr duration from 1 hr 15 mins slice compared to the larger slice, even though the # of log file sync events in both the 1 hr durations is close to same.
    Pls note that this is the same test from which the two durations were compared. Same environment, Same load (loadProfile in awrddrpt shows no difference), then why do I see difference in Wait CPU - higher in one time slice (3 hr 15 mins) when compared to the other slice (1 hr 15 mins).
    log file sync shows in Top 5 timed events in both time slices. In the 1 hr duration from longer time slice, the # of log file sync events is 13,222 and in the 1 hr duration from the shorter time slice it is 13,278.
    The log file sync event Wait Time(s) in the 1 hr duration in the longer time slice is 154.2s and that in the 1 hr duration in the shorter time slice is 10.3s.
    Why do we see this difference, when the load profile is the same in both time slices?
    Message was edited by: the user who posted the message.
    user586033

    You are either bored or suffer from Compulsive Tuning Disorder.
    It can be a challenge to solve  a problem that only exists between your ears
    post results from SQL below
    SELECT sql_id,
           SUM(time_waited) / 1000000
    FROM   v$active_session_history
    WHERE  sample_time > SYSDATE - 1 / 24
           AND time_waited > 0
    GROUP  BY sql_id
    ORDER  BY 2 DESC

  • Log file sync waits with null sql_ids

    10.2.0.3
    I am querying V$ACTIVE_SESSION_HISTORY to drill into log file sync waits.
    select sql_id,sum(time_waited)
    from v$active_session_history
    where sample_time > sysdate - 1/24
    group by sql_id
    order by 2 desc
    All of my top sessions for this have null sql_ids. I did some google searches and these are the answers that I found have null sql_ids. There are some other sessions where the sql_id is not null, but they are not anywhere near the top.
    1. could be running pl/sql. yeah ok. but I would need to run 'dml' and issue a commit for this event to fire).
    2. no sql is running. does this mean the insert finished and then I am waiting on the 'commit' part?
    I want to track these sqls down so I can track them back to the application. I want to get the developers to limit their commit frequency and use batch (array based) DML. How do I track this down?
    Also, is there anyway to figure out how often different users are committing? I want to track back to the worst offenders. Could be some parts of the application are commit periodically and others are  not, but log file sync's could slow down everyone.

    You are either bored or suffer from Compulsive Tuning Disorder.
    It can be a challenge to solve  a problem that only exists between your ears
    post results from SQL below
    SELECT sql_id,
           SUM(time_waited) / 1000000
    FROM   v$active_session_history
    WHERE  sample_time > SYSDATE - 1 / 24
           AND time_waited > 0
    GROUP  BY sql_id
    ORDER  BY 2 DESC

  • RMAN causing "log file sync"

    Hi,
    Maybe someone can help me on this.
    We have a RAC database in production that (for some) applications need a response of 0,5 seconds. In general that is working.
    Outside of production hours we make a weekly full backup and daily incremental backup so that is not bothering us. However as soon as we make an archive backup or a backup of the control file during production hours we have a problem as the application have to wait for more then 0,5 seconds for a respons caused by the event "log file sync" with wait class "Commit".
    I already adjusted the script for RMAN so that we use only have 1 files per set and also use one channel. However that didn't work.
    Increasing the logbuffer was also not a success.
    Increasing Large pool is in our case not an option.
    We have 8 redolog groups with each 2 members ( each 250 Mb) and an average during the day of 12 logswitches per hour which is not very alarming. Even during the backup the I/O doesn't show very high activity. The increase of I/O at that moment is minor but (maybe) apperantly enough to cause the "log file sync".
    Oracle has no documentation that gives me more possible causes.
    Strange thing is that before the first of October we didn't have this problem and there were no changes made.
    Has anyone an idea where to look further or did anyone experience a thing like this and was able to solve it?
    Kind regards

    The only possible contention I can see is between the log writer and the archiver. 'Backup archivelog' in RMAN means implicitly 'ALTER SYSTEM ARCHIVE LOG CURRENT' (log switch and archiving the online log).
    You should alternate redo logs on different disks to minimize the effect of the archiver on the log writer.
    Werner

  • PC Suite File Sync

    I just downloaded the PC Suite 6.84.10.3 since I have been longin g file sync for long time. Unfortunately it seems to be working only partially. Changes on my E61i files are not identified as more recent from the suite and the older PC files are overwritten on the E61i (yes, I checked the clocks and they differ of 5 seconds).
    Also changes on PC files are not always recognized.
    Any suggestion ?
    Also would be nice to sync files in multiple folders.
    Andrea

    Hi,
    I know, that it not going to solve your problem completely, but with my technique the file sync option is more useful.
    - Create a briefcase folder on your PC. This folder will be your sync folder what you set in PcSuite to sync.
    - collect all your docs, folders, pictures and so on in this folder.
    That's it, your files will be synced automatically. After PcSync finished, you have to sync your briefcase folder by right click on it and choose sync all.
    With similar technique you can manage your bookmarks as well if you replace your Mobile bookmarks folder in your bookmarks folder with a briefcase folder called:Mobile bookmarks.
    Cheers!
    Miklos Szanyi
    webmaster, designer
    http://www.megamobilecontent.com
    Themes, wallpapers, software, tips for all mobile devices

  • Og file sync.

    Hi all
    I have one loading that was ended but session is active with event log file sync. I checket all transaction which can be candidate for sync write (active transaction ...), but this session don't have record in TADDR / SQL_ADDR in v$session . I checked gv$active_session_history and from 6 AM is same current_object , current_file, current_block and buffers#.
    and current pga_usage of this session is 2,5GB , any idea how this problem can I solve ?
    Thank You

    Please try to provide less useful information next time you post.
    1. What is og file sync?
    2. In what version of what product?
    3. On what platform with what operating system?
    4. Is there a problem here? If so what is it?
    5. Is there any error message or log entry associated with it?
    I've read what you posted 3 times and still can't figure out what help you need with what or why?

  • Early Access File Syncing

    I have received an email message advising that I have been given early access to the Files syncing feature of the Adobe CC application.
    However, clicking on the Files tab does not show a workable interface, only the old "Coming Soon" statement. I have downloaded and installed the latest version of the CC application onto my Apple MacPro, but clicking on the "Files" tab does not show a window that looks like anything shown on the FAQ sample page discussing the file sharing function.
    Any assistance would be appreciated. Thanks.

    Hallo Vikas,
    First of all, to answer your question, yes, I only have one Adobe ID.
    The problem has been solved, since the Files tab in my Adobe CC application started functioning normally yesterday.
    Thanks for looking into this.
    Regards,
    Larry.
    Sent from my iPad

  • Cloud File Sync not deleting files

    Currently, the Creative Cloud File Sync is just not working. I thought it would be like Dropbox, you know, you can do whatever with your folders and voila, it'll work. Not so with CC. Please improve this asap. So here's what happened:
    1. I put a lot of files in the CC folder.
    2. After syncing all the files, CC tells me I am over 20G and stops syncing.
    3. I delete files until I only have 2G in my CC folder. However, the CC program still says I have 20G and refuses to sync. I went on the CC website and manually "archived" and then "permanently deleted" my files so it exactly matches what I have on my computer, which should be 2G.
    4. CC still says I have over 20G and refuses to sync.
    5. After waiting for 2 weeks at least, I deleted a few more files from my CC folder, and now it says I have 97.5 spaced used. But on BOTH the website and my comp, the CC folder only shows 2G. And my online "Archive" folder is completely empty. So I don't know how it's calculating my space.
    I have the newest upate of CC. I am running OSX 10.8.5.
    Honestly, I think the File Sync is broken and I am not getting half of what I paid for. Can this problem be solved now? If not, when can we expect a new update? Thanks.
    Anyone else have this problem btw?

    Hello Nitin,
    Attached is a screenshot. As you can see:
    1. Cloud says I have 19.42GB used.
    2. My archive is empty.
    3. My CreativeCloud folder only has 1.85GB
    Also, on a side note, I am using the simplified chinese version of osx, and you notice the CC folder has incorrect ascii charas after the folder, which I can't change at all. I assume that was supposed to be simplified chinese characters. I liked it better when adobe just kept it to English in the Preview ver. Please remove that in a future update. Thank you.

  • Why has file sync been disabled again?

    After my Creative Cloud file sync had been enabled again a week ago, it has been disabled again today. I have been waiting for it to be available again for months and now without any warning it has been disabled. I know the 'new' functionalities of file synchronisation and sharing are very poor, but at least it was there. Why did Adobe do this and when is it going to be solved again? I need an answer on this topic soon, because I'm working on a project and need CC to function like it should.
    (The 'Update' is for Adobe Premiere)
    Adobe is not giving me the full service I am paying for each month. Perhaps I will have to take juridical actions in this matter.

    Norbert, firstly my apologies for the inconsitency of the service.  This is not something that should be occuring.  In order to better understand the cause, could you confirm the version of the Creative Cloud app you are running? (got to Preferences/Account)  Also, could you send me a copy of your log file, which you'll find here:
    AppData\Adobe\CoreSync\CorSync-yyyy-mm-dd.log
    Please email me the files that correspond to the days you noticed the issue.  I'm on [email protected]

  • Offline File Sync - Temp File Issues

    I just set up Offline File Sync and I've noticed that temp files (created when saving a file) are in still showing in my local folder. When I try to open one of these files, it says that it doesn't exist on the network location.
    It looks like the file is being created and then removed on the network but the local cache doesn't remove the copy properly. I've tried deleting the files as well as deleting temporary files via the Sync Center but neither work.
    I'd like to solve this so that the file list doesn't become crazy full with many saves from Excel files.
    Can someone please help?

    As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as ‘Answered’ as the previous
    steps should be helpful for many similar scenarios.  <o:p></o:p>
    If the issue still persists and you want to return to this question, please reply this post directly so we will be notified to follow it up. You
    can also choose to unmark the answer as you wish.  <o:p></o:p>
    In addition, we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar
    problems.  <o:p></o:p>
    Thanks!<o:p></o:p>
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • Performance Issue: Wait event "log file sync" and "Execute to Parse %"

    In one of our test environments users are complaining about slow response.
    In statspack report folowing are the top-5 wait events
    Event Waits Time (cs) Wt Time
    log file parallel write 1,046 988 37.71
    log file sync 775 774 29.54
    db file scattered read 4,946 248 9.47
    db file parallel write 66 248 9.47
    control file parallel write 188 152 5.80
    And after runing the same application 4 times, we are geting Execute to Parse % = 0.10. Cursor sharing is forced and query rewrite is enabled
    When I view v$sql, following command is parsed frequently
    EXECUTIONS PARSE_CALLS
    SQL_TEXT
    93380 93380
    select SEQ_ORDO_PRC.nextval from DUAL
    Please suggest what should be the method to troubleshoot this and if I need to check some more information
    Regards,
    Sudhanshu Bhandari

    Well, of course, you probably can't eliminate this sort of thing entirely: a setup such as yours is inevitably a compromise. What you can do is make sure your log buffer is a good size (say 10MB or so); that your redo logs are large (at least 100MB each, and preferably large enough to hold one hour or so of redo produced at the busiest time for your database without filling up); and finally set ARCHIVE_LAG_TARGET to something like 1800 seconds or more to ensure a regular, routine, predictable log switch.
    It won't cure every ill, but that sort of setup often means the redo subsystem ceases to be a regular driver of foreground waits.

  • Statspack: High log file sync timeouts and waits

    Hi all,
    Please see an extract from our statpack report:
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~ % Total
    Event Waits Time (s) Ela Time
    log file sync 349,713 215,674 74.13
    db file sequential read 16,955,622 31,342 10.77
    CPU time 21,787 7.49
    direct path read (lob) 92,762 8,910 3.06
    db file scattered read 4,335,034 4,439 1.53
    Avg
    Total Wait wait Waits
    Event Waits Timeouts Time (s) (ms) /txn
    log file sync 349,713 150,785 215,674 617 1.8
    db file sequential read 16,955,622 0 31,342 2 85.9
    I hope the above is readable. I'm concerned with the very high number of Waits and Timeouts, particulary around the log file sync event. From reading around I suspect that the disk our redo log sits on isn't fast enough.
    1) Is this conclusion correct, are these timeouts excessively high (70% seems high...)?
    2) I see high waits on almost every other event (but not timeouts), is this pointing towards an incorrect database database setup (give our very high loads of 160 executes second?
    Any help would be much appreciated.
    Jonathan

    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~ % Total
    Event Waits Time (s) Ela Time
    log file sync 349,713 215,674 74.13
    db file sequential read 16,955,622 31,342 10.77
    CPU time 21,787 7.49
    direct path read (lob) 92,762 8,910 3.06
    db file scattered read 4,335,034 4,439 1.53
    Avg
    Total Wait wait Waits
    Event Waits Timeouts Time (s) (ms) /txn
    log file sync 349,713 150,785 215,674 617 1.8
    db file sequential read 16,955,622 0 31,342 2 85.9What's the time frame of this report on?
    It looks like your disk storage can't keep up with the volume of I/O requests from your database.
    The first few thing need to look at, what're IO intensive SQLs in your database. Are these SQLs doing unnecessary full table scan?
    Find out the hot blocks and the objects they belong.
    Check v$session_wait view.
    Is there any other suspicious activity going on in your Server ? Like other program other than Oracle doing high IO activities? Are there any core dump going on?

  • I recently purchased a movie (Prometheus) on my computer through iTunes and every time I try to put it on my iPhone, it fails. How can I successfully sync this video? Mind you, every other file syncs flawlessly.

    I recently purchased a movie (Prometheus) on my computer through iTunes and every time I try to put it on my iPhone, it fails. How can I successfully sync this video? Mind you, every other file syncs flawlessly.

    Can you connect to a wifi source on the device? Enable wifi in settings on the device itself. If you don't have wifi at home, there may be a local hotspot you can use for this.
    The reason this happens is carriers don't want people downloading huge files that would slow their network as well as eat up your data plan.

  • If I turn on Adobe File Sync will that duplicate files in my Dropbox? (Unnecessary and I can't afford the bandwidth).

    I have gigabytes of Adobe CC files arranged in appropriate client folders in Dropbox (and mirrored on my local hard drive).
    It looks like if I turn File Sync on (needed to access Assets) some or all of this will be duplicated and separated from non-Adobe data in each client file.
    Messy, unnecessary and 100GB of bandwidth I don't want to pay for! (I'm on 4G so it's expensive.)

    MichaelGli2,
    The Creative Cloud desktop application will only sync files that are in your "Creative Cloud Files" folder on your local machine.
    By default, the "Creative Cloud Files" folder is in your user's home folder (/Users/<yourusername>/Creative Cloud Files/ on Mac, or C:\Users\<yourusername>\Creative Cloud Files\ on Windows).
    Unless you have deliberately changed the location of your Creative Cloud Files folder yourself so that it is inside your local Dropbox folder, there will be no duplication.

Maybe you are looking for