possible to ignore file errors during backup, but log them?

nnBackup discussion

possible to ignore file errors during backup, but log them?

Postby wrybread » Tue, 14 Feb 2006, 23:34

I'm using the -c option to ignore errors during the backup, but I'd still like to see any errors in the log. Unless I'm wrong, -c hides the errors from the log as well.

What I'd like is to continue the backup no matter what, but see any errors encountered. Is there a way to do this?
wrybread
 
Posts: 11
Joined: Tue, 14 Feb 2006, 23:31

Postby Nicholas_Nemtsev » Thu, 16 Feb 2006, 16:25

Use option:
-ll 1
Nicholas Nemtsev
User avatar
Nicholas_Nemtsev
Site Admin
 
Posts: 857
Joined: Thu, 01 Jul 2004, 22:25
Location: Псков

Postby wrybread » Thu, 16 Feb 2006, 23:01

Thanks.

Is that undocumented? I'm not finding in the docs here:

http://www.nncron.ru/nnbackup/help/EN/command_line.htm
wrybread
 
Posts: 11
Joined: Tue, 14 Feb 2006, 23:31

Postby wrybread » Thu, 16 Feb 2006, 23:06

That appears to not work, it immediately halts execution on teh first error it receives.

Here's the command I'm executing:

nnbackup -i d:\ -s -o \\192.168.1.240\backups\d\ dump 4 -ax h -ax s -ll 1 -nozip -log \\192.168.1.240\share\backup_logs\backup_log_d.txt -v

This command works (I get the same error, but it continues backing up the rest of the files) (note -c used instead of -ll 1):

nnbackup -i d:\ -s -o \\192.168.1.240\backups\d\ dump 4 -ax h -ax s -c -nozip -log \\192.168.1.240\share\backup_logs\backup_log_d.txt -v

It does show the error message though, so I guess I should stick with the -c option?
wrybread
 
Posts: 11
Joined: Tue, 14 Feb 2006, 23:31

Postby Nicholas_Nemtsev » Thu, 16 Feb 2006, 23:10

-c -ll 1
Nicholas Nemtsev
User avatar
Nicholas_Nemtsev
Site Admin
 
Posts: 857
Joined: Thu, 01 Jul 2004, 22:25
Location: Псков

Re: possible to ignore file errors during backup, but log th

Postby haidivolum » Wed, 28 Jul 2010, 07:04

good posting ,great job,pls continue
haidivolum
 
Posts: 3
Joined: Tue, 20 Jul 2010, 08:35

Re: possible to ignore file errors during backup, but log th

Postby gavind » Sat, 08 Dec 2012, 23:13

Thanks. Nice line of commands on that link. Are there any updated ones yet?
gavind
 
Posts: 11
Joined: Sat, 08 Dec 2012, 23:11


Return to nnBackup forum (English)

Who is online

Users browsing this forum: No registered users and 0 guests