Mobile app version of vmapp.org
Login or Join
Miguel251

: Where can I find a good perl script for a cronjob that backs up all files in a specific folder on my webspace? I want to automate backups on my webspace. My provider allows for cronjobs

@Miguel251

Posted in: #Automation #Backups #Cron #Ftp

I want to automate backups on my webspace. My provider allows for cronjobs to be executed once a day. I have already implemented a cronjob that backs up my database with mySQLdumper, using a perl script. Now I want to use a script that backs up all my files in a specific folder (e.g. /folder/), zips them and moves them to /backups/

Is there a way to do so? If yes, could you recommend a good perl script template that lets me easily modify it so I can use it the way I want? Ideally, it would also have the feature to exclude certain file types, like jpg, gif and png.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Miguel251

1 Comments

Sorted by latest first Latest Oldest Best

 

@Annie201

If you want to create backsups by simply copying files from one folder to another try rsyncbackup which is a perlscript that does easy backups with rsync
code.google.com/p/rsync-backup/
You can set a cronjob to execute the script

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme