Hello, i read Backup Configuration - Documentation - cPanel Documentation
stat faq.php ../../../../../2017-08-24/accounts/cpanelname/homedir/www/faq.php
File: `faq.php'
Size: 1843 Blocks: 8 IO Block: 4096 regular file
Device: 9007h/36871d Inode: 59901396 Links: 8
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-08-28 08:00:01.338758490 +0000
Modify: 2012-06-06 08:06:50.000000000 +0000
Change: 2017-08-28 02:42:48.745287488 +0000
File: `../../../../../2017-08-24/accounts/cpanelname/homedir/www/faq.php'
Size: 1843 Blocks: 8 IO Block: 4096 regular file
Device: 9007h/36871d Inode: 59901396 Links: 8
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-08-28 08:00:01.338758490 +0000
Modify: 2012-06-06 08:06:50.000000000 +0000
Change: 2017-08-28 02:42:48.745287488 +0000
So when i backup either one using "rsync -av" or "tar -czf", i will have working file thanks to hardlink?
But what if the destination file (not hardlink) gets deleted, then all rest daily backup directories will not be able to resolve this file as hardlink will point to no file?
So it means WHM admins should not manually delete any directories in /backup to prevent missing files shared among archives?
When i rsync to other server, i will need to do 1:1 of a /backup folder, else if i miss some daily backups, it can result that some files will be inaccessible because hardlinks will point to a missing file?
I see that when i compare one identic file from two daily backups directories they use same inode:Incremental — Select this setting to save all of your files in the "directory tree." This setting uses hard links to save disk space. However, only files different from the previous backup will use disk space.
stat faq.php ../../../../../2017-08-24/accounts/cpanelname/homedir/www/faq.php
File: `faq.php'
Size: 1843 Blocks: 8 IO Block: 4096 regular file
Device: 9007h/36871d Inode: 59901396 Links: 8
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-08-28 08:00:01.338758490 +0000
Modify: 2012-06-06 08:06:50.000000000 +0000
Change: 2017-08-28 02:42:48.745287488 +0000
File: `../../../../../2017-08-24/accounts/cpanelname/homedir/www/faq.php'
Size: 1843 Blocks: 8 IO Block: 4096 regular file
Device: 9007h/36871d Inode: 59901396 Links: 8
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-08-28 08:00:01.338758490 +0000
Modify: 2012-06-06 08:06:50.000000000 +0000
Change: 2017-08-28 02:42:48.745287488 +0000
So when i backup either one using "rsync -av" or "tar -czf", i will have working file thanks to hardlink?
But what if the destination file (not hardlink) gets deleted, then all rest daily backup directories will not be able to resolve this file as hardlink will point to no file?
So it means WHM admins should not manually delete any directories in /backup to prevent missing files shared among archives?
When i rsync to other server, i will need to do 1:1 of a /backup folder, else if i miss some daily backups, it can result that some files will be inaccessible because hardlinks will point to a missing file?
Last edited: