Author Topic: Backup does not start  (Read 3297 times)

nyala

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Backup does not start
« on: December 17, 2010, 03:07:27 pm »
Hello,
I am having problems in running the Backup.

Zentyal is fully updated
Backup configuration is "File System" and destination directory is an external drive mounted on /media/DriveB
Backup scheduled to start on every day at 10 PM
It never starts, neither there's any trace of it in the logs.

Any help on how to debug that issue ?

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Backup does not start
« Reply #1 on: December 17, 2010, 04:24:55 pm »
Hi, could you give us more information?

First of all, version of the backup module (apt-cache policy ebox-ebackup).

What's your exact configuration? I mean, full frecquency, incremental frecquency... I suppose you have an incremental backup everyday at 10PM, but what about the full one?

Is the module enabled on Module Status?

Could you also show us the output of this?

cat /etc/cron.d/ebox-ebackup

Thanks!
Zentyal Server Lead Developer

nyala

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Backup does not start
« Reply #2 on: December 17, 2010, 06:20:19 pm »
Hi.
As for testing, I just set a full backup everyday at 10 PM...
Backup module is enabled.

That's the result of given commands:

apt-cache policy ebox-ebackup
ebox-ebackup:
  Installato: 2.0.6
  Candidato: 2.0.6
  Tabella versione:
 *** 2.0.6 0
        500 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

cat /etc/cron.d/ebox-ebackup
0 22 * * * root /usr/share/ebox-ebackup/ebox-remote-ebackup --full

Thanks for help.

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Backup does not start
« Reply #3 on: December 17, 2010, 06:31:43 pm »
That seems correct. Is the Backup module enabled on "Module Status"?

You can try to execute the following command manually:

/usr/share/ebox-ebackup/ebox-remote-ebackup --full

To see if any error appears (check the output in the console and also check /var/log/ebox/ebox.log).

If the above command runs well, you can check the cron messages on /var/log/syslog to see if there is any additional information there.

Thanks for the feedback.
« Last Edit: December 17, 2010, 06:36:17 pm by J. A. Calvo »
Zentyal Server Lead Developer

nyala

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Backup does not start
« Reply #4 on: December 21, 2010, 11:52:01 am »
That's the command output

sudo /usr/share/ebox-ebackup/ebox-remote-ebackup --full
root command /usr/share//ebox-ebackup/ebox-duplicity-wrapper remove-all-but-n-full 10 --force file:///media/FreeAgent Drive --no-encryption failed.
Error output: Command line error: Expected 1 args, got 2
 Enter 'duplicity --help' for help screen.

Command output: .
Exit value: 2


and that's the record ebox.log
 
2010/12/21 11:42:38 ERROR> Sudo.pm:212 EBox::Sudo::_rootError - root command /usr/share//ebox-ebackup/ebox-duplicity-wrapper list-current-files file:///media/FreeAgent Drive --no-encryption > /var/lib/ebox/tmp/backuplist-cache failed.
Error output: Command line error: Expected 1 args, got 2
 Enter 'duplicity --help' for help screen.

Command output: .
Exit value: 2


BeeDead

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +1/-0
    • View Profile
Re: Backup does not start
« Reply #5 on: December 23, 2010, 04:48:58 pm »
I have identical problem, But:
Error output: Command line error: Expected 2 args, got 3
 Enter 'duplicity --help' for help screen.

Command output: .
Exit value: 2

EBOX Ver 1.4.5

 :-\

I have no solution....

nyala

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Backup does not start
« Reply #6 on: January 02, 2011, 12:36:20 pm »
I see that the backup module has been updated, so I run again the commands, but unfortunately the problem persists.

apt-cache policy ebox-ebackup

ebox-ebackup:
  Installato: 2.0.8
  Candidato: 2.0.8
  Tabella versione:
 *** 2.0.8 0
        500 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

sudo /usr/share/ebox-ebackup/ebox-remote-ebackup --full

root command /usr/share//ebox-ebackup/ebox-duplicity-wrapper remove-all-but-n-full 10 --force file:///media/FreeAgent Drive --no-encryption failed.
Error output: Command line error: Expected 1 args, got 2
 Enter 'duplicity --help' for help screen.

Command output: .
Exit value: 2

« Last Edit: January 05, 2011, 03:24:26 pm by nyala »