Re: Happy Holidays release v2.2.0

EricZolf <[email protected]>
Newsgroups gmane.comp.sysutils.backup.rdiff-backup.general
Organization rdiff-backup.net
Message-ID <[email protected]>
Hi,

On 27/12/2022 18:36, EricZolf wrote:
> Hi,
> 
> On 27/12/2022 07:58, Frank Crawford wrote:
>>> Out of selfish interest: will it also get available any time soonish
>>> directly in Fedora 37 or should I stick to your COPR?
>>
>> It should be released in 1-2 days by the system.  It is at 6 days
>> currently and normally sits in testing for 7 days.  It then can take up
>> to a day to be packaged, signed and distributed.
> 
> Aha, I could have checked it myself:
> 
> https://bodhi.fedoraproject.org/updates/?packages=rdiff-backup
> 
> and I can install it already as well using:
> 
> sudo dnf upgrade --enablerepo=updates-testing --refresh 
> --advisory=FEDORA-2022-36dabbe5d9
> 
> I'll give it karma once I've done my first backup.

There won't be karma but it's not your fault: it was me who removed the 
ability to log with a function, because I thought it isn't used, and I 
oversaw a few places in rpath.py where it's used (though I don't see the 
added value vs. a fixed string). OK, I need to fix this quickly.

KR, Eric
backitup.log (text/x-log, 5.9 KB)
+ DISKLABEL=MYBOOK3TBAK
+ DEVICE=/dev/disk/by-label/MYBOOK3TBAK
+ udisksctl mount -b /dev/disk/by-label/MYBOOK3TBAK
Mounted /dev/sdg1 at /run/media/ericl/MYBOOK3TBAK
++ udisksctl info -b /dev/disk/by-label/MYBOOK3TBAK
++ awk '-F: *' '$1 ~ /MountPoints/ {print $2}'
+ MNTPOINT=/run/media/ericl/MYBOOK3TBAK
+ '[' -n '' ']'
++ hostname -s
+ sudo /usr/bin/rdiff-backup --include-globbing-filelist /usr/local/share/backitup.lst --terminal-verbosity 5 --verbosity 9 --tempdir /var/tmp / /run/media/ericl/MYBOOK3TBAK/tuxedo-backup-3
WARNING: this command line interface is deprecated and will disappear, start using the new one as described with '--new --help'.
WARNING: Previous backup seems to have failed, regressing destination now
* Using repository '/run/media/ericl/MYBOOK3TBAK/tuxedo-backup-3'
* Unable to import win32security module. Windows ACLs not supported by filesystem at path /
* Could not determine if source directory / permits trailing spaces or periods in filenames because we can't find any files with trailing dot/period. It will be treated as permitting such files, but none will exist if it doesn't, so it doesn't really matter and is harmless
* -----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         On
  Extended attributes                          On
  Windows access control lists                 Off
  Case sensitivity                             On
  Escape DOS devices                           Off
  Escape trailing spaces                       Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
* Unable to import win32security module. Windows ACLs not supported by filesystem at path /run/media/ericl/MYBOOK3TBAK/tuxedo-backup-3/rdiff-backup-data/rdiff-backup.tmp.0
* -----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
  Ownership changing                           On
  Hard linking                                 On
  fsync() directories                          On
  Directory inc permissions                    On
  High-bit permissions                         On
  Symlink permissions                          Off
  Extended filenames                           On
  Windows reserved filenames                   Off
  Access control lists                         On
  Extended attributes                          On
  Windows access control lists                 Off
  Case sensitivity                             On
  Escape DOS devices                           Off
  Escape trailing spaces                       Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
* Backup: escape_dos_devices = False
* Backup: escape_trailing_spaces = False
* Reading globbing filelist /usr/local/share/backitup.lst
NOTE: Regressing to date/time Sat Nov 26 18:01:24 2022
* Deleting old diff /run/media/ericl/MYBOOK3TBAK/tuxedo-backup-3/rdiff-backup-data/file_statistics.2022-12-27T18:52:57+01:00.data.gz
* Deleting old diff /run/media/ericl/MYBOOK3TBAK/tuxedo-backup-3/rdiff-backup-data/error_log.2022-12-27T18:52:57+01:00.data
* Regressing attributes of path Index: (b'afs',), Mirror: /run/media/ericl/MYBOOK3TBAK/tuxedo-backup-3/afs, Increment: /run/media/ericl/MYBOOK3TBAK/tuxedo-backup-3/rdiff-backup-data/increments/afs
IncList: ['/run/media/ericl/MYBOOK3TBAK/tuxedo-backup-3/rdiff-backup-data/increments/afs.2022-05-20T17:49:42+02:00.missing', '/run/media/ericl/MYBOOK3TBAK/tuxedo-backup-3/rdiff-backup-data/increments/afs.2022-06-16T13:56:57+02:00.dir', '/run/media/ericl/MYBOOK3TBAK/tuxedo-backup-3/rdiff-backup-data/increments/afs.2022-08-07T13:25:21+02:00.dir', '/run/media/ericl/MYBOOK3TBAK/tuxedo-backup-3/rdiff-backup-data/increments/afs.2022-11-06T11:04:44+01:00.dir']
IncRel: ['/run/media/ericl/MYBOOK3TBAK/tuxedo-backup-3/afs']
* Cleaning up
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 33, in <module>
    sys.exit(load_entry_point('rdiff-backup==2.2.0', 'console_scripts', 'rdiff-backup')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/rdiffbackup/run.py", line 37, in main
    sys.exit(main_run(sys.argv[1:]))
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/rdiffbackup/run.py", line 105, in main_run
    ret_val |= conn_act.run()
               ^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/rdiffbackup/actions/backup.py", line 139, in run
    ret_code |= self._operate_regress()
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/rdiffbackup/actions/__init__.py", line 547, in _operate_regress
    self.repo.base_dir.conn.regress.Regress(self.repo.base_dir)
  File "/usr/lib64/python3.11/site-packages/rdiff_backup/regress.py", line 290, in Regress
    ITR(rf.index, rf)
  File "/usr/lib64/python3.11/site-packages/rdiff_backup/rorpiter.py", line 142, in __call__
    if self._finish_branches(index):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/rdiff_backup/rorpiter.py", line 179, in _finish_branches
    to_be_finished.end_process_directory()
  File "/usr/lib64/python3.11/site-packages/rdiff_backup/regress.py", line 152, in end_process_directory
    rpath.copy_attribs(rf.metadata_rorp, rf.mirror_rp)
  File "/usr/lib64/python3.11/site-packages/rdiff_backup/rpath.py", line 1690, in copy_attribs
    rpout.setmtime(rpin.getmtime())
  File "/usr/lib64/python3.11/site-packages/rdiff_backup/rpath.py", line 754, in setmtime
    log.Log(
  File "/usr/lib64/python3.11/site-packages/rdiff_backup/log.py", line 74, in __call__
    raise TypeError(
TypeError: You can only log bytes or str, and not <class 'function'>
+ udisksctl unmount -b /dev/disk/by-label/MYBOOK3TBAK
Unmounted /dev/sdg1.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.