Forum archive
Turnkey Linux backup error OSError: [Errno 2]
Backup produces this error:
omparing current system state to the base state in the backup profile
----------------------------------------------------------------------
Save list of new packages:
cat > /TKLBAM/newpkgs << EOF
libodbc1 libslp1 lsof php5-ldap
EOF
Traceback (most recent call last):
File "/usr/bin/tklbam-backup", line 513, in <module>
main()
File "/usr/bin/tklbam-backup", line 446, in main
opt_resume, True, dump_path if dump_path else "/")
File "/usr/lib/tklbam/backup.py", line 237, in __init__
self._create_extras(extras_paths, profile_paths, backup_conf)
File "/usr/lib/tklbam/backup.py", line 175, in _create_extras
conf.overrides.fs)
File "/usr/lib/tklbam/backup.py", line 111, in _write_whatchanged
changes = whatchanged(dirindex, paths)
File "/usr/lib/tklbam/changes.py", line 265, in whatchanged
changes += [ Change.Overwrite(path) for path in new + edited ]
File "/usr/lib/tklbam/changes.py", line 92, in __init__
self.uid = self.stat.st_uid
File "/usr/lib/tklbam/changes.py", line 67, in stat
self._stat = os.lstat(self.path)
OSError: [Errno 2] No such file or directory: '/var/spool/postfix/active/E73C2100B17D'
Can anyone let me know how to restart the backup?
TKLBAM is designed by default to resume if it is interrupted and then rerun. But in this instance it appears that a directory that was there last time it was interrupted has since gone...
To make it start clean (when it didn't finish last time) you can use the '--disable-resume' switch (as documented on the tklbam-backup man page).
FWIW you can find man pages for all TKLBAM commands in the docs here.