Author Topic: Run backup manually  (Read 8400 times)

philmills

  • Zen Warrior
  • ***
  • Posts: 161
  • Karma: +8/-0
    • View Profile
Run backup manually
« on: May 28, 2012, 09:52:56 am »
Sometimes its necessary to run backups manually, and Zentyal doesn't currently have a "run now" option via the admin interface.
Everyitme I need to do this, I always end up searching the forums for ages before I find the right commands. This is also made harder by the fact that older versions of Zentyal/Ebox use a different command.  So I figured I should document these CLI commands for other users too.

For zentyal versions 2.2:
Incremental backup: 
Code: [Select]
/usr/share/zentyal-ebackup/backup-tool --incrementalFull backup: 
Code: [Select]
/usr/share/zentyal-ebackup/backup-tool --full
For zentyal versions 2.0 and earlier:
Incremental backup:
Code: [Select]
/usr/share/ebox-ebackup/ebox-remote-ebackup --incrementalFull backup:
Code: [Select]
/usr/share/ebox-ebackup/ebox-remote-ebackup --full
If anyone has any other variants to add for other versions please go ahead and add them!
« Last Edit: May 28, 2012, 09:56:10 am by philmills »

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Run backup manually
« Reply #1 on: May 29, 2012, 03:23:34 am »
Thanks for your documentation effort! I'm sure people will find it useful :)
Zentyal Server Lead Developer

philmills

  • Zen Warrior
  • ***
  • Posts: 161
  • Karma: +8/-0
    • View Profile
Re: Run backup manually
« Reply #2 on: May 29, 2012, 03:57:55 pm »
You're welcome - I have to give something back to the community for this great product!

pcready.cl

  • Zen Samurai
  • ****
  • Posts: 286
  • Karma: +13/-1
  • Zentyal Installer in Chile
    • View Profile
    • PC Ready Chile SpA
Re: Run backup manually
« Reply #3 on: August 11, 2012, 02:21:13 am »
thx!  :D
Email: contacto@pcready.cl
Teléfono: (+56 32) 314 0883
Skype: pcready.cl
Web: https://www.pcready.cl

Roeltje

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Run backup manually
« Reply #4 on: November 02, 2012, 10:23:41 am »
Is there a way to run a manual backup with other options than the default settings?

So if the default setting is incremental backup to ftp, I can run it manual with a full backup to another disk?

jammin

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +1/-0
    • View Profile
Re: Run backup manually
« Reply #5 on: March 05, 2013, 09:56:34 am »
zentyal 3.0 has a frontend (System -> Import/Export Configuration), but if your wanting to cron it.

/usr/share/zentyal/make-backup

backups saved in /var/lib/zentyal/conf/backups/

Options available.
  Usage:
  ./make-backup  [OPTION]...
  ./make-backup  --help

  Options:
    --config-backup (default backup mode)
    --configuration-report --bug-report

    --description <description>
    --fallback-to-ro
    --remote-backup <name>
    --progress-id (only needed for web framework)

Sorry i know its a bit of an old topic, but i thought for completeness, i would add it here.