L
lommedalskongen
Guest
here is the script:
this is a script who keeps files for 3 days, takes backup when sites are online, and put them into gz.files at 1gb each.
This is important for us that is working...
the script:
.......................
cd /premiss/backup/plesk/
rm -rf 3
mv 2 3
mv 1 2
mkdir 1
cd 1
date > /premiss/backup/plesk/plesk_backup.log
/usr/local/psa/bin/psadump -F -f - --nostop --nostop-domain --tar-ignore-failed-read | gzip | split - -b 1024m dump. > /premiss/backup/plesk/plesk_backup1.log
sleep 10
/etc/init.d/psa start >> /premiss/backup/plesk/plesk_backup.log
date >> /premiss/backup/plesk/plesk_backup.log
can anyone please tell me what is wrong? I cant afford acronis true image, but atleast my old rutine should work? should it not?..
this is dangerous.. please help me..
this is a script who keeps files for 3 days, takes backup when sites are online, and put them into gz.files at 1gb each.
This is important for us that is working...
the script:
.......................
cd /premiss/backup/plesk/
rm -rf 3
mv 2 3
mv 1 2
mkdir 1
cd 1
date > /premiss/backup/plesk/plesk_backup.log
/usr/local/psa/bin/psadump -F -f - --nostop --nostop-domain --tar-ignore-failed-read | gzip | split - -b 1024m dump. > /premiss/backup/plesk/plesk_backup1.log
sleep 10
/etc/init.d/psa start >> /premiss/backup/plesk/plesk_backup.log
date >> /premiss/backup/plesk/plesk_backup.log
can anyone please tell me what is wrong? I cant afford acronis true image, but atleast my old rutine should work? should it not?..
this is dangerous.. please help me..