Results 1 to 7 of 7

Thread: [SOLVED] Outdated folders in ~/backup/tmp/

  1. #1
    Join Date
    Apr 2006
    Posts
    50
    Rep Power
    9

    Default [SOLVED] Outdated folders in ~/backup/tmp/

    We are preparing to migrate a deployment from one server to another and I am trying to reduce the time the transfer will take (both in size and filecount). All paths are from the zimbra user's perspective.
    I noticed that ~/backup/tmp/ contains two date named folders which are from 4-6 months old (full-20070804[...] & full-20071006[...]).

    Can those two folders be safely removed or are they needed for some reason still?
    If they are still needed could someone additionally explain why. If they are not, could someone guess as to why they weren't automatically cleaned up?

    Thanks for your help!

    Cheers,

    RioGD

  2. #2
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    Default

    Those backups are created when you do an upgrade. Once you've gotten beyond the successful upgrade and have a routine backup of your system (you do have one, don't you? ) these become irrelevant and can be deleted. For backup purposes you want two things:
    1. Your periodic backup, whether using the NE or FOSS methods, and
    2. A copy of the installation binaries (and OS, of course) for the currently-running version of Zimbra.
    With these two things your recovery path is set.

    Cheers,

    Dan

  3. #3
    Join Date
    Apr 2006
    Posts
    50
    Rep Power
    9

    Default

    The dates on those backups do not coincide with upgrades in my case. In case it matters, this is an NE install, and we've got routine backups.

    Being that they are not from upgrades are they still safe to delete ?

    Thank you for your help, I really appreciate it!

    Cheers,

    RioGD

  4. #4
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    719
    Rep Power
    9

    Default

    ~/backup/tmp/ is used during a zmbackup run. The directory is moved to ~/backup/sessions on completion. You had a zmbackup fail a log time ago. Especially if those files are before your data retention window, they can safely be expunged.

  5. #5
    Join Date
    Apr 2006
    Posts
    50
    Rep Power
    9

    Default

    Brilliant, Thank you!

    Cheers,

    RioGD

  6. #6
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Also, if a backup fails, we aren't cleaning that directory. We've filed a bug, so you may want to keep an eye on that.

    Bug 24282 - new periodic process to clean up /opt/zimbra/backup/tmp

  7. #7
    Join Date
    Apr 2006
    Posts
    50
    Rep Power
    9

    Default

    Thank you jholder, I've just voted for the bug.

    Cheers,

    RioGD

Similar Threads

  1. .pst migration issues
    By jimklein in forum Migration
    Replies: 13
    Last Post: 02-16-2009, 01:55 AM
  2. Organize calendar folders as a tree
    By marinew in forum Developers
    Replies: 4
    Last Post: 12-13-2007, 10:42 AM
  3. Replies: 3
    Last Post: 08-11-2007, 01:40 PM
  4. I can't see all imap folders in Thunderbird
    By Achim.Theobald in forum Users
    Replies: 3
    Last Post: 05-06-2006, 07:53 AM
  5. filters, folders, imap, searches
    By sakoch in forum Users
    Replies: 3
    Last Post: 02-22-2006, 01:29 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
  •