(cloudlinux) lve-wrapper + duplicity - backups are not saved

Asked by Sam Biz

I've been trying to wrap duplicity with lve-wrapper so that I can limit the disk i/o during backup to prevent my server from hanging (i've experienced very high cpu usage upto 70) during backup. I have more than 500 GB data

I'm using a duplicity script

 lve_suwrapper 10001 duplicity /home file:///backup/home/

What happens is that, the files are compressed alright in the temp folder but they are not moved to the destination folder after the compression. they get removed from the tmp folder.

I have set the permissions on the destination folder to 777.

when I run duplicity without using the lve_suwrapper, the backup runs successfully but I need to wrap it in the wrapper to reduce the disk i/o.

I'd really appreciate any help on this.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
edso (ed.so) said :
#1

On 24.11.2015 13:22, Sam Biz wrote:
> New question #275387 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/275387
>
> I've been trying to wrap duplicity with lve-wrapper so that I can limit the disk i/o during backup to prevent my server from hanging (i've experienced very high cpu usage upto 70) during backup. I have more than 500 GB data
>
> I'm using a duplicity script
>
> lve_suwrapper 10001 duplicity /home file:///backup/home/
>
> What happens is that, the files are compressed alright in the temp folder but they are not moved to the destination folder after the compression. they get removed from the tmp folder.
>
> I have set the permissions on the destination folder to 777.
>
> when I run duplicity without using the lve_suwrapper, the backup runs successfully but I need to wrap it in the wrapper to reduce the disk i/o.
>
> I'd really appreciate any help on this.
>
> Thanks
>

not familiar w/ these
 http://docs.cloudlinux.com/lve_wrappers.html

but i am pretty sure the files are written to some place. run duplicity in max. verbosity '-v9' and look for lines like

Processed volume 1
Writing /mnt/backup/duplicity-new-signatures.20151117T095758Z.to.20151124T150603Z.sigtar.gpg
Writing /mnt/backup/test.foo/duplicity-inc.20151117T095758Z.to.20151124T150603Z.manifest.gpg

that's where your files are currently written to.

..ede/duply.net

Can you help with this problem?

Provide an answer of your own, or ask Sam Biz for more information if necessary.

To post a message you must log in.