Automatically delete old files on the right side?

No more questions - please go to http://www.syncovery.com/forum instead

Moderator: SuperFlexible Administrators

Automatically delete old files on the right side?

Postby skynet on Mon Feb 11, 2013 9:24 am

I back up a folder every day with ZIP packeges (one arhive).

I want to set up an automatic task that will automatically delete arhives older than X days on the right side.

I'd prefer to do it without having to use any 3rd party software.
skynet
 
Posts: 2
Joined: Mon Feb 11, 2013 9:08 am

Re: Automatically delete old files on the right side?

Postby superflexible on Mon Feb 11, 2013 1:40 pm

You could create a separate job that would delete old zip files from the destination based on their date. To do that, you need to mirror an empty folder to the destination with Exact Mirror.

Set the file age filter appropriately, for example "Older than 30 days". That means older files will be processed by the deletion job.

On the tab sheet Security->Unattended in the profile, make sure that deletions are enabled and set to 100% and that the last checkmark (about special safety) is not chosen.

You could run this deletion job manually from time to time or schedule it. But before you schedule any jobs, you should try them manually and look at the Sync Preview in order to be sure that they do the right thing.

If the deletion job is scheduled I think you also need to add the following switch to the [Main] section of the Ini file in order to enable 100% deletions (because 100% of the older files are deleted):

UnattendedDeleteAllIsOK_IfDelPercIs100=YES
User avatar
superflexible
Site Admin
 
Posts: 2480
Joined: Thu Dec 31, 2009 3:08 pm

Re: Automatically delete old files on the right side?

Postby skynet on Mon Feb 11, 2013 3:20 pm

Good idea and It works.

Thank you, thank you, thank you ;)
skynet
 
Posts: 2
Joined: Mon Feb 11, 2013 9:08 am


Return to Windows Support * new forum: www.syncovery.com/forum

cron