0

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.

Dima Chubarov
  • 2,316
  • 1
  • 17
  • 28
user1316095
  • 37
  • 1
  • 2

1 Answers1

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.

Dima Chubarov
  • 2,316
  • 1
  • 17
  • 28