Author Topic: Full Conf Backup via SSH  (Read 1272 times)

pcready.cl

  • Zen Samurai
  • ****
  • Posts: 286
  • Karma: +13/-1
  • Zentyal Installer in Chile
    • View Profile
    • PC Ready Chile SpA
Full Conf Backup via SSH
« on: August 20, 2015, 09:10:35 pm »
How do this?  ;D
Email: contacto@pcready.cl
Teléfono: (+56 32) 314 0883
Skype: pcready.cl
Web: https://www.pcready.cl

BerT666

  • Zen Warrior
  • ***
  • Posts: 228
  • Karma: +17/-0
    • View Profile
Re: Full Conf Backup via SSH
« Reply #1 on: August 21, 2015, 09:13:55 am »
I use this with a modification of the following Scripts (uses rsync over ssh):

Please visit:

https://www.heinlein-support.de/howto/backups-und-snapshots-von-linux-servern-mit-rsync-und-ssh

With a bit of "Script Magic" it works like a charm. In my scripts I also added automysqlbackup for the databases of Openchange etc

pcready.cl

  • Zen Samurai
  • ****
  • Posts: 286
  • Karma: +13/-1
  • Zentyal Installer in Chile
    • View Profile
    • PC Ready Chile SpA
Re: Full Conf Backup via SSH
« Reply #2 on: August 21, 2015, 09:16:28 am »
I just want to support configurations Zentyal as is done through the web portal. I do not want to back up server data.
Email: contacto@pcready.cl
Teléfono: (+56 32) 314 0883
Skype: pcready.cl
Web: https://www.pcready.cl

BerT666

  • Zen Warrior
  • ***
  • Posts: 228
  • Karma: +17/-0
    • View Profile
Re: Full Conf Backup via SSH
« Reply #3 on: August 21, 2015, 10:47:48 am »
when you modify the Scripts, you can only save the config...

Or you can trust the cloud services of Zentyal

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Full Conf Backup via SSH
« Reply #4 on: August 24, 2015, 09:35:04 am »
Config backups are done using using script /usr/share/zentyal/create-backup

expertgeeks

  • Forum Moderator
  • Zen Warrior
  • *****
  • Posts: 124
  • Karma: +11/-0
    • View Profile
Re: Full Conf Backup via SSH
« Reply #5 on: August 24, 2015, 09:27:54 pm »
There doesn't appear to be a create-backup script under that path.. There is a make-backup script that does the job though :D

It dumped the backup tar into;
Code: [Select]
Backup stored into file /var/lib/zentyal/conf//backups/<date>-<time>.tar

BTW The // is intentional as it's reported by the script to be put in that location.

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Full Conf Backup via SSH
« Reply #6 on: August 24, 2015, 11:04:54 pm »
That's it. Sorry I wrote the command from memory ;)