Re: Making a full backup with DAR
Denis Corbin <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.dar.support |
|---|---|
| Message-ID | <[email protected]> |
On 07/07/2021 14:53, Сергей Цаболов wrote: > Hello to all. Hello Сергей, > > I need to some help with setup full backup with dar some server. > > I read the page > http://dar.linux.free.fr/doc/mini-howto/dar-differential-backup-mini-howto.en.html#id5 > > > And see full command line I'll be using for my /system/ backup > > I make me command to test of backup. > > dar -m 256 -y 6 -s 1000M -D /srv/archive -R / -c `date -I`_data -Z > "*.gz" -Z "*.bz2" -Z "*.zip" -Z "*.png" -P srv -P dev -P proc -P sys -P > tmp -P run -P mnt -P media > > The path /srv/archive is mount over NFS from TrueNas > > But after run the command to backup I give the > > Parse error: Given user target(s) could not be found: > /srv/back-rsync/viavi/archive I suggest you prepend "echo" to the dar command to see what is the result of the shell expansion: echo dar -m 256... you should see the "/srv/back-rsync/viavi/archive" string not introduced by any option (thus assumed to be a user target, where from the error message). This may also come from your ~/.darrc or /etc/darrc thus as second step I would add -v as first option to dar (without "echo" this time) if the previous test could not explain the problem. Don't hesitate to produce the output of these commands if don't find the typo. > > Advise me how write command more correctly > > > Thanks > Cheers, Denis
OpenPGP_signature
(application/pgp-signature, 840 B) - not displayed