search for: dobackup

Displaying 4 results from an estimated 4 matches for "dobackup".

Did you mean: nobackup
2009 Jun 01
2
ssh as root with and without private key
...ddition to root, I'd make a rootback account: root:x:0:0:root:/root:/bin/bash rootback:x:0:0:root:/root:/bin/bash (Entries in /etc/shadow are required for both, turns out.) In sshd_conf I have this Match User rootback PermitRootLogin yes ForceCommand /root/bin/dobackup Match User root PermitRootLogin yes Match When I ssh -l rootback host whatever it runs the dobackup script. However, when I run ssh -l root host date it logs me in without asking for a password and runs date. So close. But not right. Is there a way to get what I want? I&...
2009 Apr 16
0
Using rsync for a backup program but having trouble getting --exclude-from to wor
...is the script I am using: > #################################### > > #/bin/bash > suffix=`date +%Y%m%d` > echo Suffix is "$suffix" > fromdir=/home/bob/ > echo Source dir is "$fromdir" > todir="$maxtor6"BackupOfHome > excl="$fromdir".dobackup.excl > echo Exclusions file is "$excl" > echo Destination dir is "$todir" > rsync --exclude-from="$excl" -a -b -vv --suffix="$suffix" $fromdir > $todir > > exit 0 > ######################## > > Here is the content of the exclude f...
2009 Apr 15
2
Using rsync for a backup program but having trouble getting --exclude-from to work properly
...e-from' got me to the same place. Here is the script I am using: #################################### #/bin/bash suffix=`date +%Y%m%d` echo Suffix is "$suffix" fromdir=/home/bob/ echo Source dir is "$fromdir" todir="$maxtor6"BackupOfHome excl="$fromdir".dobackup.excl echo Exclusions file is "$excl" echo Destination dir is "$todir" rsync --exclude-from="$excl" -a -b -vv --suffix="$suffix" $fromdir $todir exit 0 ######################## Here is the content of the exclude file # .dobackup.excl - list of exclusions fr...
2012 Feb 27
1
Centos 6.2, sheduled tasks (cron)
Hi all, I wanted to schedule some rsync backups and found that CentOS is by default using anacron. I'm mostly used with the historical cron, but let's follow the progress :-) - I made a shell script in /etc/cron.daily/dobackup - I made it 755, root.root. - In /etc/anacrontab, START_HOURS_RANGE=21-23 (I kept the other lines unchanged) - When I manually run /etc/cron.daily/dobackup, it runs quietly (no errors) Where should I check if the task scheduler is setup correctly (logs)? Must I reload a service (BTW, is it &quot...