Skip to main content

Can account backups seperate mail folder from other account information

Comments

9 comments

  • cPRex Jurassic Moderator
    Hey there! We wouldn't have an automated tool that would let you split the backup types, but it is possible to pull out files from a tar file without extracting the entire tarball:
    0
  • martin MHC
    If you have a tool like JetBackup you could use that to exclude certain directories, allowing that backup tool to make a partial backup of the account for you:
    0
  • cPRex Jurassic Moderator
    WHMCS isn't required for the JetBackup tool to be installed for function. Can you let me know where you found that? Here is the page with the system requirements:
    0
  • ffeingol
    Just wondering what kind of access you have to the remote server? When we need to do this we normally do something like the following tar -tzvf account.tar.gz | egrep sql
    That will then list out the full path to all the .sql dumps. You can then run tar -xzvf account.tar.gz /full/path/to/database.sql
    And it will extract only the database dump that you want. Assuming you can do this all on the remote server, you'll save your self a lot of time/effort/bandwidth.
    0
  • martin MHC
    Just wondering what kind of access you have to the remote server? When we need to do this we normally do something like the following

    I would normally do this but have no command line access to remote files in any way, and the remote system won't open the files because they're too big so they need to be downloaded.
    0
  • martin MHC
    WHMCS isn't required for the JetBackup tool to be installed for function. Can you let me know where you found that? Here is the page with the system requirements:
    0
  • ffeingol
    You can actually do this pretty straight forward in JetBackup. When you do an 'accounts' type backup you get to choose what's being backed up. In one backup job you could only include email and in another you could have everything but email. This page in their doc has a screen shot of all the items you can include/skip in a full account backup: Create New Backup Job " JetBackup Documentation documentation
    0
  • mywhm
    Hey there! We wouldn't have an automated tool that would let you split the backup types, but it is possible to pull out files from a tar file without extracting the entire tarball:

    tar.gz files do not have an index. In order to show you which files are contained in the archive, tar indeed needs to uncompress the archive and extract the files Not indexed: In order to see which files are contained in a tar archive, it is necessary to scan through the entire archive. This can be impractical if the archive is very large.
    0
  • cPRex Jurassic Moderator
    @mywhm - while there is no index, the process I mentioned let's tar read through all the files it would extract, and lets you pull out what you want. It may not be fast, but if disk space is an issue it can help you from needing to clear up space to make room for an entire unzipping process.
    0

Please sign in to leave a comment.