duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Duplicity .cache directory to another path


From: edgar . soldin
Subject: Re: [Duplicity-talk] Duplicity .cache directory to another path
Date: Mon, 06 Jul 2015 17:42:28 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 06.07.2015 17:30, Benjamin Henrion wrote:
> On Mon, Jul 6, 2015 at 5:08 PM, Benjamin Henrion <address@hidden> wrote:
>> On Mon, Jul 6, 2015 at 4:53 PM,  <address@hidden> wrote:
>>> On 06.07.2015 16:41, Benjamin Henrion wrote:
>>>> On Mon, Jul 6, 2015 at 4:34 PM,  <address@hidden> wrote:
>>>>> On 06.07.2015 15:55, Benjamin Henrion wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I am using duply wrapper on top of duplicity, which creates
>>>>>> /home/user/.cache directory when it runs.
>>>>>>
>>>>>> This cache directory is problematic because it takes space, and I want
>>>>>> to move it to another partition.
>>>>>>
>>>>>> I have set the ARCH_DIR in duply config to another location, but
>>>>>> duply/duplicity still creates  /home/user/.cache directory.
>>>>>>
>>>>>> Any idea if there is an option to handle this?
>>>>>>
>>>>>
>>>>> what is your duplicity version? moving the archive folder is supported 
>>>>> since duplicity 0.6.01 only.
>>>>
>>>> From squeeze:
>>>>
>>>> https://packages.debian.org/search?keywords=duplicity
>>>>
>>>> 0.6.08b
>>>>
>>>>> also please run duply with the --preview option and post the terminal 
>>>>> output. obfuscate information you deem private in it!
>>>>
>>>> TMPDIR='/home/user/backupdir' AWS_ACCESS_KEY_ID='XXXXXXXXX'
>>>> AWS_SECRET_ACCESS_KEY='YYYYYYYYY' /usr/bin/duplicity incr
>>>> --no-encryption --verbosity '4' --exclude-globbing-filelist
>>>> /home/user/.duply/mybackup/exclude /home/user/data
>>>> 's3://s3.amazonaws.com/mybox/'
>>>>
>>>
>>> please download the latest duply from
>>>  http://duply.net/
>>>
>>> place it somewhere suitable eg. /usr/local/bin/ and run it w/ preview. 
>>> please send me the _complete_ terminal output this time. obfuscate if 
>>> needed!
>>
>> Here it is, it stills copies stuff to .cache:
>>
>> /usr/local/bin/duply mybackup incr --preview
>> Start duply v1.9.2, time is 2015-07-06 10:06:10.
>> Using profile '/home/node/.duply/mybackup'.
>> Using installed duplicity version 0.6.08b, python 2.6.6, gpg 1.4.10
>> (Home: ~/.gnupg), awk 'mawk 1.3.3 Nov 1996, Copyright (C) Michael D.
>> Brennan', grep 'GNU 2.6.3', bash '4.1.5(1)-release
>> (x86_64-pc-linux-gnu)'.
>> -- Run cmd -- Checking TEMP_DIR '/home/node/xfer' is a folder --
>> test -d /home/node/xfer 2>&1
>> -- Run cmd -- Checking TEMP_DIR '/home/node/xfer' is writable --
>> test -w /home/node/xfer 2>&1
>> Test - En/Decryption skipped. (GPG disabled)
>>
>> --- Start running command INCR at 10:06:11.255 ---
>> TMPDIR='/home/user/backupdir' AWS_ACCESS_KEY_ID='XXXXXXXXX'
>> AWS_SECRET_ACCESS_KEY='YYYYYYYYYYY' duplicity incr --no-encryption
>> --verbosity '4' --exclude-globbing-filelist
>> '/home/user/.duply/mybackup/exclude' '/home/user/data'
>> 's3://s3.amazonaws.com/mybox/'
>> --- Finished state OK at 10:06:11.348 - Runtime 00:00:00.093 ---
>>
>>> be advised.. duplicity 0.6.08b is very old (5+yrs), consider installing the 
>>> latest duplicity from tarball.
>>
>> Will try that now.
> 
> I took the sources from unstable on squeeze, but when I try to install
> it on squeeze, it breaks:
> 
> Unpacking duplicity (from duplicity_0.7.03-1_amd64.deb) ...
> Setting up duplicity (0.7.03-1) ...
> SyntaxError: ('invalid syntax',
> ('/usr/lib/python2.6/dist-packages/duplicity/backends/onedrivebackend.py',
> 186, 54, "                names_to_ids = {x['name']: x['id'] for x in
> files}\n"))
> 
> Will try another version.
> 

looks like something python 2.6 incompatible crept into the latest versions.. 
try the latest stable 0.6.x from
 http://duplicity.nongnu.org/

..ede



reply via email to

[Prev in Thread] Current Thread [Next in Thread]