Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to automate backing up a database and a few directories/files from a windows server to a backup server (linux). I intend to use perl because ActivePerl is already available on the windows server.
I am familiar with perl and not looking for the actual solution. I am seeking general guidance on the correct approach to solving the problem.
Currently, my high level design looks like this:
I am having trouble with the last step above. Ideally, I want to call the backup script weekly or bi-weekly. The compressed filename will probably include the date and time to identify when the backup was made. I need some pointers on how to determine the older than N backup files and delete them.
Any help/pointers/suggestions (including that I am totally on the wrong track, there are better ways of doing this) is appreciated.
Regards, Anand Mathur
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Seeking help on a backup script
by holli (Abbot) on Aug 30, 2006 at 14:09 UTC | |
|
Re: Seeking help on a backup script
by nimdokk (Vicar) on Aug 30, 2006 at 13:49 UTC | |
|
Re: Seeking help on a backup script
by cdarke (Prior) on Aug 30, 2006 at 15:02 UTC | |
by satchm0h (Beadle) on Aug 30, 2006 at 19:16 UTC | |
by Anonymous Monk on Aug 31, 2006 at 16:15 UTC |