rdiff-backup을 테스트 중인데 누군가가 나를 도울 수 있을 것이라고 생각했습니다. 1: 내 백업이 원본 폴더보다 작은 이유는 무엇입니까? 내 원격 서버에는 36G가 있고 백업 서버에는 29G만 있습니다.
2: 일부 파일을 복구하려고 했지만 다음 오류가 발생했습니다.
Exception '[Errno 13] Permission denied: '/home/brt/backups2/rdiff-backup.tmp.0'' raised of class '<type 'exceptions.OSError'>':
File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main
try: Main(arglist)
File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 324, in Main
take_action(rps)
File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 290, in take_action
elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 554, in Restore
dest_rp.conn.fs_abilities.restore_set_globals(dest_rp)
File "/usr/local/lib/python2.7/site-packages/rdiff_backup/connection.py", line 450, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/local/lib/python2.7/site-packages/rdiff_backup/connection.py", line 370, in reval
if isinstance(result, Exception): raise result
Traceback (most recent call last):
File "/usr/local/bin/rdiff-backup", line 30, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main
try: Main(arglist)
File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 324, in Main
take_action(rps)
File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 290, in take_action
elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 554, in Restore
dest_rp.conn.fs_abilities.restore_set_globals(dest_rp)
File "/usr/local/lib/python2.7/site-packages/rdiff_backup/connection.py", line 450, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/local/lib/python2.7/site-packages/rdiff_backup/connection.py", line 370, in reval
if isinstance(result, Exception): raise result
OSError: [Errno 13] Permission denied: '/home/brt/backups2/rdiff-backup.tmp.0'
Fatal Error: Lost connection to the remote system
무슨 일이 일어났으며 어떻게 해결하나요?
감사해요.
답변1
권한과 같습니다: OSError: [Errno 13] 권한이 거부되었습니다: '/home/brt/backups2/rdiff-backup.tmp.0'
이 파일/디렉토리가 거부되어 연결이 끊어졌음을 나타냅니다.
또한 여유 공간이 충분한지 확인하세요.