[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about backuping multiply dirs



Hello guys..

Well it seems Adam's sugestion did the trick. I needed ful path on
tarsnap in cron so /usr/local/bin/tarsnap . Backup last night finished
OK.

Thanks for your help/time..

Best.

On Mon, Oct 31, 2011 at 12:53 AM, Colin Percival <cperciva@tarsnap.com> wrote:
> On 10/30/11 16:42, Tim Bishop wrote:
>> What happens if you run your exact cron command on the command line?
>>
>> tarsnap -c -f backup-`date +\%Y\%m\%d` /etc /var/www/vhosts
>>
>> (for what it's worth, I don't think you need the back slashes there)
>
> Correct, the back slashes are only needed in the crontab because % has a
> special meaning in cron tabs.
>
> --
> Colin Percival
> Security Officer, FreeBSD | freebsd.org | The power to serve
> Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid
>



-- 
Amar Ćosić
amar.cosic@gmail.com