Hello, i am copying daily full backup files to a remote server using "rsync -av"
And then using tmpwatch to remove too old (144 hours) remote daily backups
tmpwatch -vvv --all -m 144 /destination/directory
The result:
Which permission this dotfile must have in order the backups are restorable? I can change its permissions but i do not want to break something.
How would you fix this so tmpwatch can delete the .master.meta dotfile?
And then using tmpwatch to remove too old (144 hours) remote daily backups
tmpwatch -vvv --all -m 144 /destination/directory
The result:
When i list one empty accounts directory permissions:non-writeable file owned by root skipped: .master.meta
Other files was removed by tmpwatch, but only this dotfile remains undeletable by tmpwatch.File: `/backup/abc/daily/2019-05-27/accounts/.'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 18h/24d Inode: 316964872 Links: 2
Access: (0711/drwx--x--x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2019-06-07 10:11:38.441892099 +0300
Modify: 2019-05-27 05:38:06.000000000 +0300
Change: 2019-06-07 10:11:10.781007910 +0300
File: `/backup/abc/daily/2019-05-27/accounts/..'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 18h/24d Inode: 316964870 Links: 3
Access: (0711/drwx--x--x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2019-06-07 10:05:58.000000000 +0300
Modify: 2019-05-27 05:00:02.000000000 +0300
Change: 2019-06-07 10:11:10.781007910 +0300
File: `/backup/abc/daily/2019-05-27/accounts/.master.meta'
Size: 15289 Blocks: 32 IO Block: 4096 regular file
Device: 18h/24d Inode: 316964877 Links: 1
Access: (0400/-r--------) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2019-05-27 19:20:09.000000000 +0300
Modify: 2019-05-27 05:38:06.000000000 +0300
Change: 2019-05-27 19:20:09.298414600 +0300
Which permission this dotfile must have in order the backups are restorable? I can change its permissions but i do not want to break something.
How would you fix this so tmpwatch can delete the .master.meta dotfile?