Regular backups


Forum: DSL Tips and Tricks
Topic: Regular backups
started by: Selim

Posted by Selim on Dec. 07 2006,18:27
Because i load DSL to RAM, i wrote this for regular backups:
Code Sample
#!/bin/bash
while true; do
sleep 1h
sudo filetool.sh backup noprompt && sudo cp -p /mnt/hdd1/backup.des /mnt/hdb3/backup || xmessage Backup didnot work
sudo cp -p /mnt/hdd1/backup.des /mnt/hdd1/backups/$( date +%Y%m%d )-backup.des
done

Change the obvious if you want to use it and take it for what it is: an ugly little script that works enough for me...

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.