On 04/11/2014 05:44 AM, Linux wrote:
Hi All,
qtp-backup not working, see the following details,
1. My /home partition was full. So I insert second HDD in my server
2. Mount new hdd on /email
3. rename /home/vpopmail/domains as domains_old
4. create folder in /email/domains.
5. create a softlink in /home/vpopmail/ and link it to /email/domains/
(domains -> /email/domains/)
6. rsync mails form old domain to /email/domains
/email/domains folder size is 223G. But the size of my tar.gz is only 54MB
It's not taking complete backup.
I imagine that if you look in the tarball(s) that qtp-backup creates,
you'll see the symlink for the domains.
Try adding the -h (--dereference) option to the appropriate tar command.
That will probably get you what you want.
Let us know if that fixes things up for you. I'll have to think a bit
about whether or not this should be included in the stock version.
Personally, I typically set up QMT with a symlink to an nfs share for
the /home/vpopmail/domains folder, and use rsync for backups. Using
qtp-backup for regular backups isn't very efficient, although perhaps it
should get everything it can by default. There is (after all) a
configuration option for omitting maildirs.
Thanks.
--
-Eric 'shubes'
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com