T tautom Verified User Joined Sep 26, 2006 Messages 15 Sep 2, 2009 #1 How can I set the system wide backup to create each day a backup and story it by ftp on another server (which I have done now), but delete the backups that are older than 30 days (which I do not know how to do that)?
How can I set the system wide backup to create each day a backup and story it by ftp on another server (which I have done now), but delete the backups that are older than 30 days (which I do not know how to do that)?
scsi Verified User Joined Aug 19, 2008 Messages 4,531 Sep 3, 2009 #2 find /backup/folder -mtime +30 -delete
T tautom Verified User Joined Sep 26, 2006 Messages 15 Sep 3, 2009 #3 scsi said: find /backup/folder -mtime +30 -delete Click to expand... Is there a command line in which I integrate both connect to ftp server with usernamen and passwort and execute the command "find /backup/folder -mtime +30 -delete" ? Then I can do that in my cron. Thanks.
scsi said: find /backup/folder -mtime +30 -delete Click to expand... Is there a command line in which I integrate both connect to ftp server with usernamen and passwort and execute the command "find /backup/folder -mtime +30 -delete" ? Then I can do that in my cron. Thanks.