Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Regular backups< Next Oldest | Next Newest >
Selim Offline





Group: Members
Posts: 52
Joined: Oct. 2006
Posted: Dec. 07 2006,18:27 QUOTE

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...
Back to top
Profile PM 
0 replies since Dec. 07 2006,18:27 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Regular backups

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code