Remove old Zipped files

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

Moderator: SuperFlexible Administrators

Remove old Zipped files

Postby mivanteeva on Mon Sep 17, 2012 2:30 pm

I am zipping up and putting a timestamp on the files with each backup. Is there a way to configure a cleanup to occur on the right (destination) side of the zipped backups that are older than 30 days, for example?

Thanks,
Maria
mivanteeva
 
Posts: 4
Joined: Wed Sep 12, 2012 4:06 pm

Re: Remove old Zipped files

Postby superflexible on Fri Sep 21, 2012 2:02 pm

No.
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: Remove old Zipped files

Postby superflexible on Fri Sep 21, 2012 4:29 pm

Actually, here's the whole truth. Currently there is no way built in to limit the number of zip files when using the zipping method "Zip Packages" which puts several source files in the same zip file. You would need to clean them out manually from time to time.

Or 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: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: Remove old Zipped files

Postby rexwithers on Tue Apr 19, 2016 11:45 pm

That's extremely helpful (even 4 years on).

If you ever get the chance to add this feature as a checkbox it would be great
rexwithers
 
Posts: 9
Joined: Sat Apr 28, 2012 5:05 am


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

cron