duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] Getting started with duplicity.


From: Bill Broadley
Subject: [Duplicity-talk] Getting started with duplicity.
Date: Wed, 21 Feb 2007 11:21:50 -0800
User-agent: Thunderbird 1.5.0.9 (X11/20070103)


I installed duplicity on two ubuntu 6.10 boxes, foo and bar:
address@hidden:~$ /usr/bin/duplicity -V
duplicity 0.4.2
address@hidden:~$ /usr/bin/duplicity -V
duplicity 0.4.2

Man page mentions:
 duplicity /home/me scp://address@hidden/some_dir

So I made a test directory:
address@hidden:~$ mkdir test; cd test; for i in a b c d e; do dd if=/dev/urandom of=$i bs=1024 count=1024; done
address@hidden:~$ ls -lh test
total 5.1M
-rw-r--r-- 1 bill bill 1.0M 2007-02-21 11:06 a
-rw-r--r-- 1 bill bill 1.0M 2007-02-21 11:06 b
-rw-r--r-- 1 bill bill 1.0M 2007-02-21 11:06 c
-rw-r--r-- 1 bill bill 1.0M 2007-02-21 11:06 d
-rw-r--r-- 1 bill bill 1.0M 2007-02-21 11:06 e

So I tried:
address@hidden:~$ /usr/bin/duplicity -v5 ~/test  
scp://address@hidden//home/bill/backup
Reading results of 'echo -e 'cd /home/bill/backup
ls -1' | sftp -b - address@hidden'
Invalid command.
PASSPHRASE variable not set, asking user.
GnuPG passphrase:
Retype to confirm:
No signatures found, switching to full backup.
Generating delta - new file: .
Generating delta - new file: a
Generating delta - new file: b
Generating delta - new file: c
Generating delta - new file: d
Generating delta - new file: e
Running 'scp /tmp/tmpmnJ3FT address@hidden:/home/bill/backup/duplicity-full.2007-02-21T11:12:33-07:00.vol1.difftar.gpg' tmpmnJ3FT 100% 5155KB 5.0MB/s 00:01 Running 'scp /tmp/tmpWL9wuv address@hidden:/home/bill/backup/duplicity-full.2007-02-21T11:12:33-07:00.vol2.difftar.gpg' tmpWL9wuv 100% 81 0.1KB/s 00:00 Running 'scp /tmp/tmpi8GFvT address@hidden:/home/bill/backup/duplicity-full.2007-02-21T11:12:33-07:00.manifest.gpg' tmpi8GFvT 100% 214 0.2KB/s 00:00 Running 'scp /tmp/tmpYRE6Zy address@hidden:/home/bill/backup/duplicity-full-signatures.2007-02-21T11:12:33-07:00.sigtar.gpg' tmpYRE6Zy 100% 121KB 120.7KB/s 00:00
Reading results of 'echo -e 'cd /home/bill/backup
ls -1' | sftp -b - address@hidden'
Invalid command.
--------------[ Backup Statistics ]--------------
StartTime 1172085156.76 (Wed Feb 21 11:12:36 2007)
EndTime 1172085158.39 (Wed Feb 21 11:12:38 2007)
ElapsedTime 1.63 (1.63 seconds)
SourceFiles 6
SourceFileSize 5246976 (5.00 MB)
NewFiles 6
NewFileSize 5246976 (5.00 MB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 6
RawDeltaSize 5242880 (5.00 MB)
TotalDestinationSizeChange 5279195 (5.03 MB)
Errors 0
-------------------------------------------------

When I run it again I get similar output, always a full backup.

The invalid command is puzzling, if I run it manually:
address@hidden:~$ echo -e 'cd /home/bill/backup
> ls -1' | sftp -b - address@hidden
sftp> cd /home/bill/backup
sftp> ls -1
.
..
duplicity-full.2007-02-21T10:43:27-07:00.vol1.difftar.gpg
duplicity-full.2007-02-21T10:43:27-07:00.manifest.gpg
duplicity-full-signatures.2007-02-21T10:43:27-07:00.sigtar.gpg
...

Any idea on the invalid commands and/or the reason that every backup
is a full backup?











reply via email to

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