Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have already created nfs server and client for backup web server and cms server like at http://www.myee.web.id/2012/04/nfs-server-for-backup/ Then I installed rdiff-backup, for backup I running command like below:

   # rdiff-backup --list-increments /app/beta /mnt/nfs/web

Then message error occurs.

Question : should I make a script for increment backup with rdiff-backup ? Or is it just a wrong command option?

Sorry if any mistake with my asking. Thanks before and after.

share|improve this question

1 Answer 1

You are probably getting

  Fatal Error: Wrong number of arguments given.
  See the rdiff-backup manual page for more information.

It says that --list-increments option can only be applied to your destination directory.

First you have to actually backup your data

  rdiff-backup /app/beta /mnt/nfs/web

After that

  rdiff-backup --list-increments /mnt/nfs/web

should return

  Found 0 increments:
  Current mirror: Wed Apr 25 09:55:39 2012

Meaning the backup is up to date.

Please read manual page for rdiff-backup to better understand available options.

share|improve this answer
    
I tested, [root@backup ~]# rdiff-backup /root /backup/test/ then [root@backup ~]# rdiff-backup --list-increments /root /backup/test/ Fatal Error: Wrong number of arguments given. See the rdiff-backup manual page for more information. –  user1316095 Apr 26 '12 at 5:32
    
Try testing # rdiff-backup --list-increments /backup/test i.e. omitting /root –  Dmitri Chubarov Apr 26 '12 at 5:47
    
What different are ? Thanks –  user1316095 Apr 29 '12 at 17:19
    
--list-increments requires only one path as an argument –  Dmitri Chubarov Apr 29 '12 at 17:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.