ftplicity + Debian

Discussion in 'HOWTO-Related Questions' started by clems, Jul 24, 2008.

  1. clems

    clems New Member

    Hello,

    I follow the how to to backup via Duplicity and ftplicity but I have a few error.
    Version:
    Debian 4.0
    duplicity 0.4.12
    ftplicity 1.1.1

    Simple backup is ok:
    Code:
    ftplicity backup
    NcFTP version is 3.2.0
    Reading globbing filelist /root/.ftplicity/exclude
    Last full backup date: Thu Jul 24 10:29:28 2008
    --------------[ Backup Statistics ]--------------
    StartTime 1216901081.89 (Thu Jul 24 14:04:41 2008)
    EndTime 1216901094.73 (Thu Jul 24 14:04:54 2008)
    ElapsedTime 12.84 (12.84 seconds)
    SourceFiles 28258
    SourceFileSize 311121565 (297 MB)
    NewFiles 3
    NewFileSize 4118 (4.02 KB)
    DeletedFiles 2
    ChangedFiles 3
    ChangedFileSize 1188 (1.16 KB)
    ChangedDeltaSize 0 (0 bytes)
    DeltaEntries 8
    RawDeltaSize 1236 (1.21 KB)
    TotalDestinationSizeChange 3017 (2.95 KB)
    Errors 0
    -------------------------------------------------
    But when i try the full option or purge is not working:

    Code:
    ftplicity purge --force
    Command line error: option --remove-older-than not recognized
    Enter 'duplicity --help' for help screen.
    
    Code:
    ftplicity full
    Traceback (most recent call last):
      File "/usr/local/bin/duplicity", line 482, in ?
        with_tempdir(main)
      File "/usr/local/bin/duplicity", line 477, in with_tempdir
        fn()
      File "/usr/local/bin/duplicity", line 405, in main
        action = commandline.ProcessCommandLine(sys.argv[1:])
      File "/usr/local/lib/python2.4/site-packages/duplicity/commandline.py", line 448, in ProcessCommandLine
        args = parse_cmdline_options(cmdline_list)
      File "/usr/local/lib/python2.4/site-packages/duplicity/commandline.py", line 186, in parse_cmdline_options
        globals.full_force_time = dup_time.genstrtotime(arg)
      File "/usr/local/lib/python2.4/site-packages/duplicity/dup_time.py", line 254, in genstrtotime
        error()
      File "/usr/local/lib/python2.4/site-packages/duplicity/dup_time.py", line 221, in error
        raise TimeException("""Bad time string "%s"
    duplicity.dup_time.TimeException: Bad time string "/"
    
    The acceptible time strings are intervals (like "3D64s"), w3-datetime
    strings, like "2002-04-26T04:22:01-07:00" (strings like
    "2002-04-26T04:22:01" are also acceptable - rdiff-backup will use the
    current time zone), or ordinary dates like 2/4/1997 or 2001-04-23
    (various combinations are acceptable, but the month always precedes
    the day).
    
    I check all the forum plus google during 3 days and now I am lost :)

    Regards,
     
  2. d0nut

    d0nut New Member

  3. Ben

    Ben Active Member Moderator

  4. d0nut

    d0nut New Member

    i am german ;)

    yes the version is newer than the ct-version.

    i am working with ubuntu 9.04 - the ct-version did not work for me. i got erros like "wrong timestamp". its not the same error as mentioned in the german posting.

    the latest version of ftplicity i found at sf.net works perfect..
    there are some changes.. you can use many profiles and the config variables are in english.
     

Share This Page