En cours

File Backup

1) The attached perl script [url removed, login to view] currently backs up a mysql database. It runs daily from a cron job and saves up to 9 backups in a cycle.

Your job is to adapt this to also backup all files and directories as a tar archive file in the path:

$config{'static_dir'}."/admin/documents"

$config{'static_dir'} is an environment variable. Please use environment variables for all path references. The environment variable file ([url removed, login to view]) is also attached.

2) The File [url removed, login to view] is the user interface to manage the backups.

Here I need a subroutine to also restore the backed up tarfiles. The subroutine or call to subroutine should be placed in the condition statement where the database restore routine is called:

if ($restore_confirm){} at line 58.

3) The files (mysql & tar) should also be saved to a given directory on a different server - i will provide you with the details

If you have questions feel free to skype me

Compétences : Perl

Voir plus : mysql backup, backup job, backup database, placed call, backup admin, perl script file, mysql restore backup, server backup, perl backup database, script skype perl, amp restore script, script backup, perl script mysql database backup, skype user database, mysql statement, admin backup, backup restore, skype config, cron backup, perl directory file, backup mysql, perl database backup, backup file, perl skype, perl script skype

Concernant l'employeur :
( 17 commentaires ) Rothenburg, Switzerland

N° du projet : #2381393

1 freelance a fait une offre moyenne de 50 $ pour ce travail

gangabass

Hired by the Employer

50 $ USD en 5 jours
(171 Commentaires)
6.1