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: Backu/Restore from shell< Next Oldest | Next Newest >
Swistak Offline





Group: Members
Posts: 2
Joined: Feb. 2007
Posted: Feb. 27 2007,19:20 QUOTE

Is there a way to backup files from command line? (for example running backup every hour rom cron?)
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Feb. 27 2007,19:23 QUOTE

# filetool.sh backup noprompt

It uses device as found in /opt/.backup_device
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Feb. 27 2007,19:27 QUOTE

/usr/sbin/filetool.sh backup [device]
/usr/sbin/filetool.sh restore [device]

If no device specified, it will check /opt/.backup_device

I assume this needs to be run as root.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Swistak Offline





Group: Members
Posts: 2
Joined: Feb. 2007
Posted: Feb. 28 2007,15:57 QUOTE

thnx a lot.

i assume that if i already have backup/resume working,

Code Sample
sudo /usr/sbin/filetool.sh backup noprompt
will save settings without any interaction from user ?
Back to top
Profile PM 
3 replies since Feb. 27 2007,19:20 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Backu/Restore from shell

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