Results 1 to 2 of 2

Thread: reseller backup repository

  1. #1
    Join Date
    Aug 2007
    Posts
    412

    reseller backup repository

    Hey,
    when a reseller (or a user) wants to keep a repository of old backups, he must set a directory structure to support that, and feel them with corresponding backups, like explained in here: http://help.directadmin.com/item.php?id=146

    I was wondering:
    wouldn't it be easier to put a timestamp on the backup filename, just like on the admin-level backup, so several files could be stored in the same directory without having to create multiple cronjobs for this.


    just think of a user that wants hourly backups (24 of them per day) and keep history for a week (7 days a week) = 168 (=24*7) different cronjobs!!!

    with my suggestion, it'll be down to.... 1

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    Hello,

    I guess you can do it with these already made features:

    user_backup_post.sh http://directadmin.com/features.php?id=951
    all_backups_post.sh http://directadmin.com/features.php?id=1237

    Just a couple lines of code to rename/move a newly created tar.gz to whatever you want.
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

Similar Threads

  1. Local Repository
    By u4xlol in forum CustomBuild
    Replies: 7
    Last Post: 10-10-2012, 02:49 AM
  2. Exim tgz missing from file repository
    By kanix in forum CustomBuild
    Replies: 2
    Last Post: 12-04-2007, 02:28 PM
  3. whats better to use as backup, reseller backup, or admin backups?
    By lkbryant in forum DirectAdmin General Discussion
    Replies: 2
    Last Post: 11-28-2007, 03:16 PM
  4. Reseller backup wont backup database
    By X-Hosted in forum Admin-Level Difficulties
    Replies: 2
    Last Post: 08-12-2006, 07:02 AM
  5. How to backup all reseller including reseller's data???
    By kencash in forum Admin-Level Difficulties
    Replies: 0
    Last Post: 09-25-2004, 07:56 AM

Posting Permissions

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