Where has scheduling for external backup gone
Results 1 to 10 of 10

Thread: Where has scheduling for external backup gone

  1. #1
    ZeXtras Betatester
    Join Date
    Sep 2011
    Posts
    17

    Where has scheduling for external backup gone

    Just installed the system and I'm sure there is supposed to be a schedule tab to allow automatic external backups to be started. Where has this gone please?
    ZeXtras Version: 1.0.0, Zimbra Version: 6.0.7

  2. #2
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,342
    Hello msutherland25, and welcome to the forums!

    There is no UI interface for External Backup scheduling (and IIRC there has never been). There is a "Enable Full Scan Scheduling" in the ZxBackup tab of the ZeXtras Admin Interface, but it's only for Full Scan scheduling.

    In order to schedule an external backup you have to create a shell script that executes an External Backup through the ZeXtras CLI and add that script to your Crontab.
    I can prepare an example script if you like..

    Have a nice day,
    Cine
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

  3. #3
    Junior Member
    Join Date
    Jan 2012
    Location
    Kansas
    Posts
    2
    Hi,
    I would appreciate seeing an example script that you mentioned...
    Zimbra 7.1.3
    Centos 5.7 x64
    Thanks

  4. #4
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,342
    [EDIT by Cine]
    Removed out of date script - ZeXtras Backup has gone a long way since this thread was opened, and the External Backup is not to be used as the main backup system. Please see Zx_Backup_RealTimeScan and Taking_Additional_and_Offsite_backups_of_ZxBackup' s_Datastore for more info.
    [/EDIT]
    Last edited by Cine; 05-26-2014 at 10:55 AM.
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

  5. #5
    Junior Member
    Join Date
    Jan 2012
    Location
    Kansas
    Posts
    2
    Cine,
    Thanks very much! very helpful

  6. #6
    Active Member
    Join Date
    Mar 2012
    Posts
    3
    I use a modificate version of the script above. It runs daily and exports the backup to a net drive, which has to be mounted before and unmounted after the export.

    From my point of view, the backup module should include inside the admin console following possibilities:
    - scheduler for external! backups
    - ability to run scripts before/after external backup or to mount/unmount devices

    Why zextras should do that? An automatic backup is useful only if it is subsequently stored externally. And this need further user actions or scripts. So the automatic external backup (and restore?!) makes more sense.

    Kind regards
    TosH

  7. #7
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,342
    Quote Originally Posted by TosH View Post
    I use a modificate version of the script above. It runs daily and exports the backup to a net drive, which has to be mounted before and unmounted after the export.

    From my point of view, the backup module should include inside the admin console following possibilities:
    - scheduler for external! backups
    - ability to run scripts before/after external backup or to mount/unmount devices

    Why zextras should do that? An automatic backup is useful only if it is subsequently stored externally. And this need further user actions or scripts. So the automatic external backup (and restore?!) makes more sense.

    Kind regards
    TosH
    Hello TosH,
    welcome to the forums!
    Thanks for the suggestion, I'll open an RFE to the devs and discuss this option with them.

    However, the External Backup procedure is not meant to be used as the main backup system but only a mean to add an additional layer of data security.

    The best way (in my opinion) to lower the risk of a data loss to the minimum is using a Backup Store residing on a RAID SAN. This way you can have a rendundant backup on a different host without needing to worry about exports, mountpoints and backup history management.

    Have a nice day,
    Cine
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

  8. #8
    Active Member
    Join Date
    Mar 2012
    Posts
    3
    Hi Cine,

    this is absolutely correct, but who is using zimbra ose? Not only organisations with thousends of users. I use zimbra as own mailserver and to sync dates within my family. We are less then ten users. I know zimbra looks like overkill for this setting, but for me is this the best solution for all these things that we need (mail, shared calendars, tasks, sync with different devices). My zimbra runs on a low budget vserver (KVM, 2GB Ram, 4 CPU-Cores) very well. But there are no possibilities for own backups on the host - otherwise I did not need zextra backup...

    Who is paying for zextras? I guess users without sufficient backup solutions. Therefore I believe your target user has a real need for an external! backup. And this should be very easy to implement.

    Kind regards
    TosH

  9. #9
    Junior Member
    Join Date
    Feb 2014
    Posts
    1

    Script Not Working after latest zextras update

    Hi,
    After version 1.8.13 the following script stopped working for cron.
    I've tried everything with no luck.

    It seems that the script hangs on command:
    su - zimbra -c "zxsuite backup doExport $BACKUPDIR >> $TMPFILE 2>&1"
    and does not continue..
    Can anyone please help?




    Quote Originally Posted by Cine View Post
    [EDIT by Cine]
    Removed out of date script - ZeXtras Backup has gone a long way since this thread was opened, and the External Backup is not to be used as the main backup system. Please see "http://wiki.zextras.com/wiki/Zx_Backup_RealTimeScan" and "http://wiki.zextras.com/wiki/Taking_Additional_and_Offsite_backups_of_ZxBackup% 27s_Datastore" for more info.
    [/EDIT]
    Last edited by Cine; 05-26-2014 at 10:55 AM.

  10. #10
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,342
    Quote Originally Posted by stgiaf View Post
    Hi,
    After version 1.8.13 the following script stopped working for cron.
    I've tried everything with no luck.

    It seems that the script hangs on command:
    su - zimbra -c "zxsuite backup doExport $BACKUPDIR >> $TMPFILE 2>&1"
    and does not continue..
    Can anyone please help?
    Hello stgiaf,
    welcome to the forums!

    ZeXtras Suite versions 1.8.13/.14/.15 are affected by an issue that prevents the correct usage of the ZeXtras CLI in a non-interactive shell. You can find more information about it on the ZeXtras Bugzilla at Bug 114 ? Bug in zxsuite shell (a workaround can be found here too).

    This issue has currently been solved, and the fix will be included in ZeXtras Suite 1.8.16.

    Thus said, please remember that the External Restore is not meant to be and to be used as the main ZxBackup backup system (which is the RealTime Scanner). If you need to take an additional copy of your backup path for an additional security layer, please have a look at Taking Additional and Offsite backups of ZxBackup's Datastore - ZeXtras Suite Wiki.

    Have a nice day,
    Cine
    the ZeXtras Team
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •