Current time: 05-30-2024, 12:23 AM Hello There, Guest! (LoginRegister)


Post Reply 
[HowTo] How can I keep my backups for x days?
Author Message
Kami Offline


Posts: 4
Joined: Jul 2009
Reputation: 0
Post: #17
RE: How can I keep my backups for x days?
(08-04-2009 02:39 PM)MasterTH Wrote:  you could code an counter which counts the files in the backup-folder with tar.gz in the end. If the amount of files is bigger then the number of backups given from the user ispcp can delete the oldest files.

Yes, that would work as well, but that solution would require 1 extra step.

First I would need to count all the files matching the pattern and then I would still need to delete the files based on the date in the file name (assuming that the ISPCP backups are "compromised" and that the file creation date is incorrect).

@miklosandras: Great Smile
08-04-2009 07:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How can I keep my backups for x days? - Kami - 08-04-2009 07:50 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)