1 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
2 |
DENIED
|
moderate
|
App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
} |
|
Show voter details
|
3 |
DENIED
|
edit
|
App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
} |
|
Show voter details
|
4 |
DENIED
|
moderate
|
App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
} |
|
Show voter details
|
5 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
6 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4057
+user: App\Entity\User {#4005 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
May I point out that all a RAID1 does is sync the blocks between two drives. It won’t protect against writing something dumb that would mess up the filesystem, it will just dutifully sync it.\n
\n
You *should* be able to back up ext data from a filesystem on a RAID array, unless I’m confused about what e2image actually does. Are you trying to use it on the underlying drive devices by any chance? You have to point it at the RAID device on top of them, something like /dev/md1 rather than /dev/sda1.\n
\n
This sounds like a good extra backup to have but don’t let it lull you into a false sense of security. It may help recover from a very specific kind of mistake but the recovery may be very specific as well. It’s not file backup.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1702305922 {#4066
date: 2023-12-11 15:45:22.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4055 …}
+nested: Doctrine\ORM\PersistentCollection {#4053 …}
+votes: Doctrine\ORM\PersistentCollection {#4051 …}
+reports: Doctrine\ORM\PersistentCollection {#4049 …}
+favourites: Doctrine\ORM\PersistentCollection {#4017 …}
+notifications: Doctrine\ORM\PersistentCollection {#4021 …}
-id: 179949
-bodyTs: "'/dev/md1':91 '/dev/sda1':94 'abl':40 'actual':60 'array':52 'back':42 'backup':101,141 'block':13 'chanc':75 'confus':56 'data':45 'devic':72,84 'drive':16,71 'dumb':24 'duti':34 'e2image':59 'ext':44 'extra':100 'fals':113 'file':140 'filesystem':30,48 'good':99 'help':119 'kind':125 'let':107 'like':90,97 'lull':109 'm':55 'may':1,118,131 'mess':27 'mistak':127 'point':3,79 'protect':20 'raid':51,83 'raid1':8 'rather':92 'recov':120 'recoveri':130 'secur':116 'sens':114 'someth':23,89 'sound':96 'specif':124,134 'sync':11,35 'top':86 'tri':64 'two':15 'under':70 'unless':53 'use':66 'well':136 'won':18 'would':26 'write':22"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.nl/comment/4982628"
+editedAt: null
+createdAt: DateTimeImmutable @1701326843 {#4002
date: 2023-11-30 07:47:23.0 +01:00
}
} |
|
Show voter details
|
7 |
DENIED
|
edit
|
App\Entity\EntryComment {#4057
+user: App\Entity\User {#4005 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
May I point out that all a RAID1 does is sync the blocks between two drives. It won’t protect against writing something dumb that would mess up the filesystem, it will just dutifully sync it.\n
\n
You *should* be able to back up ext data from a filesystem on a RAID array, unless I’m confused about what e2image actually does. Are you trying to use it on the underlying drive devices by any chance? You have to point it at the RAID device on top of them, something like /dev/md1 rather than /dev/sda1.\n
\n
This sounds like a good extra backup to have but don’t let it lull you into a false sense of security. It may help recover from a very specific kind of mistake but the recovery may be very specific as well. It’s not file backup.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1702305922 {#4066
date: 2023-12-11 15:45:22.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4055 …}
+nested: Doctrine\ORM\PersistentCollection {#4053 …}
+votes: Doctrine\ORM\PersistentCollection {#4051 …}
+reports: Doctrine\ORM\PersistentCollection {#4049 …}
+favourites: Doctrine\ORM\PersistentCollection {#4017 …}
+notifications: Doctrine\ORM\PersistentCollection {#4021 …}
-id: 179949
-bodyTs: "'/dev/md1':91 '/dev/sda1':94 'abl':40 'actual':60 'array':52 'back':42 'backup':101,141 'block':13 'chanc':75 'confus':56 'data':45 'devic':72,84 'drive':16,71 'dumb':24 'duti':34 'e2image':59 'ext':44 'extra':100 'fals':113 'file':140 'filesystem':30,48 'good':99 'help':119 'kind':125 'let':107 'like':90,97 'lull':109 'm':55 'may':1,118,131 'mess':27 'mistak':127 'point':3,79 'protect':20 'raid':51,83 'raid1':8 'rather':92 'recov':120 'recoveri':130 'secur':116 'sens':114 'someth':23,89 'sound':96 'specif':124,134 'sync':11,35 'top':86 'tri':64 'two':15 'under':70 'unless':53 'use':66 'well':136 'won':18 'would':26 'write':22"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.nl/comment/4982628"
+editedAt: null
+createdAt: DateTimeImmutable @1701326843 {#4002
date: 2023-11-30 07:47:23.0 +01:00
}
} |
|
Show voter details
|
8 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4057
+user: App\Entity\User {#4005 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
May I point out that all a RAID1 does is sync the blocks between two drives. It won’t protect against writing something dumb that would mess up the filesystem, it will just dutifully sync it.\n
\n
You *should* be able to back up ext data from a filesystem on a RAID array, unless I’m confused about what e2image actually does. Are you trying to use it on the underlying drive devices by any chance? You have to point it at the RAID device on top of them, something like /dev/md1 rather than /dev/sda1.\n
\n
This sounds like a good extra backup to have but don’t let it lull you into a false sense of security. It may help recover from a very specific kind of mistake but the recovery may be very specific as well. It’s not file backup.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1702305922 {#4066
date: 2023-12-11 15:45:22.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4055 …}
+nested: Doctrine\ORM\PersistentCollection {#4053 …}
+votes: Doctrine\ORM\PersistentCollection {#4051 …}
+reports: Doctrine\ORM\PersistentCollection {#4049 …}
+favourites: Doctrine\ORM\PersistentCollection {#4017 …}
+notifications: Doctrine\ORM\PersistentCollection {#4021 …}
-id: 179949
-bodyTs: "'/dev/md1':91 '/dev/sda1':94 'abl':40 'actual':60 'array':52 'back':42 'backup':101,141 'block':13 'chanc':75 'confus':56 'data':45 'devic':72,84 'drive':16,71 'dumb':24 'duti':34 'e2image':59 'ext':44 'extra':100 'fals':113 'file':140 'filesystem':30,48 'good':99 'help':119 'kind':125 'let':107 'like':90,97 'lull':109 'm':55 'may':1,118,131 'mess':27 'mistak':127 'point':3,79 'protect':20 'raid':51,83 'raid1':8 'rather':92 'recov':120 'recoveri':130 'secur':116 'sens':114 'someth':23,89 'sound':96 'specif':124,134 'sync':11,35 'top':86 'tri':64 'two':15 'under':70 'unless':53 'use':66 'well':136 'won':18 'would':26 'write':22"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.nl/comment/4982628"
+editedAt: null
+createdAt: DateTimeImmutable @1701326843 {#4002
date: 2023-11-30 07:47:23.0 +01:00
}
} |
|
Show voter details
|
9 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
10 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4500
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4057
+user: App\Entity\User {#4005 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
May I point out that all a RAID1 does is sync the blocks between two drives. It won’t protect against writing something dumb that would mess up the filesystem, it will just dutifully sync it.\n
\n
You *should* be able to back up ext data from a filesystem on a RAID array, unless I’m confused about what e2image actually does. Are you trying to use it on the underlying drive devices by any chance? You have to point it at the RAID device on top of them, something like /dev/md1 rather than /dev/sda1.\n
\n
This sounds like a good extra backup to have but don’t let it lull you into a false sense of security. It may help recover from a very specific kind of mistake but the recovery may be very specific as well. It’s not file backup.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1702305922 {#4066
date: 2023-12-11 15:45:22.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4055 …}
+nested: Doctrine\ORM\PersistentCollection {#4053 …}
+votes: Doctrine\ORM\PersistentCollection {#4051 …}
+reports: Doctrine\ORM\PersistentCollection {#4049 …}
+favourites: Doctrine\ORM\PersistentCollection {#4017 …}
+notifications: Doctrine\ORM\PersistentCollection {#4021 …}
-id: 179949
-bodyTs: "'/dev/md1':91 '/dev/sda1':94 'abl':40 'actual':60 'array':52 'back':42 'backup':101,141 'block':13 'chanc':75 'confus':56 'data':45 'devic':72,84 'drive':16,71 'dumb':24 'duti':34 'e2image':59 'ext':44 'extra':100 'fals':113 'file':140 'filesystem':30,48 'good':99 'help':119 'kind':125 'let':107 'like':90,97 'lull':109 'm':55 'may':1,118,131 'mess':27 'mistak':127 'point':3,79 'protect':20 'raid':51,83 'raid1':8 'rather':92 'recov':120 'recoveri':130 'secur':116 'sens':114 'someth':23,89 'sound':96 'specif':124,134 'sync':11,35 'top':86 'tri':64 'two':15 'under':70 'unless':53 'use':66 'well':136 'won':18 'would':26 'write':22"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.nl/comment/4982628"
+editedAt: null
+createdAt: DateTimeImmutable @1701326843 {#4002
date: 2023-11-30 07:47:23.0 +01:00
}
}
+root: App\Entity\EntryComment {#4057}
+body: """
Oh you’re right it does work… well fuck knows what I was doing wrong before.\n
\n
Yeah this is a backup in case I like, mv file to /dev/sda1 or something.\n
\n
Not a backup of the files, but a backup of the structure.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701334734 {#4498
date: 2023-11-30 09:58:54.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@lemmyvore@feddit.nl"
]
+children: Doctrine\ORM\PersistentCollection {#4501 …}
+nested: Doctrine\ORM\PersistentCollection {#4503 …}
+votes: Doctrine\ORM\PersistentCollection {#4505 …}
+reports: Doctrine\ORM\PersistentCollection {#4507 …}
+favourites: Doctrine\ORM\PersistentCollection {#4509 …}
+notifications: Doctrine\ORM\PersistentCollection {#4511 …}
-id: 180152
-bodyTs: "'/dev/sda1':29 'backup':21,34,40 'case':23 'file':27,37 'fuck':9 'know':10 'like':25 'mv':26 'oh':1 're':3 'right':4 'someth':31 'structur':43 'well':8 'work':7 'wrong':15 'yeah':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4110842"
+editedAt: null
+createdAt: DateTimeImmutable @1701334734 {#4499
date: 2023-11-30 09:58:54.0 +01:00
}
} |
|
Show voter details
|
11 |
DENIED
|
edit
|
App\Entity\EntryComment {#4500
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4057
+user: App\Entity\User {#4005 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
May I point out that all a RAID1 does is sync the blocks between two drives. It won’t protect against writing something dumb that would mess up the filesystem, it will just dutifully sync it.\n
\n
You *should* be able to back up ext data from a filesystem on a RAID array, unless I’m confused about what e2image actually does. Are you trying to use it on the underlying drive devices by any chance? You have to point it at the RAID device on top of them, something like /dev/md1 rather than /dev/sda1.\n
\n
This sounds like a good extra backup to have but don’t let it lull you into a false sense of security. It may help recover from a very specific kind of mistake but the recovery may be very specific as well. It’s not file backup.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1702305922 {#4066
date: 2023-12-11 15:45:22.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4055 …}
+nested: Doctrine\ORM\PersistentCollection {#4053 …}
+votes: Doctrine\ORM\PersistentCollection {#4051 …}
+reports: Doctrine\ORM\PersistentCollection {#4049 …}
+favourites: Doctrine\ORM\PersistentCollection {#4017 …}
+notifications: Doctrine\ORM\PersistentCollection {#4021 …}
-id: 179949
-bodyTs: "'/dev/md1':91 '/dev/sda1':94 'abl':40 'actual':60 'array':52 'back':42 'backup':101,141 'block':13 'chanc':75 'confus':56 'data':45 'devic':72,84 'drive':16,71 'dumb':24 'duti':34 'e2image':59 'ext':44 'extra':100 'fals':113 'file':140 'filesystem':30,48 'good':99 'help':119 'kind':125 'let':107 'like':90,97 'lull':109 'm':55 'may':1,118,131 'mess':27 'mistak':127 'point':3,79 'protect':20 'raid':51,83 'raid1':8 'rather':92 'recov':120 'recoveri':130 'secur':116 'sens':114 'someth':23,89 'sound':96 'specif':124,134 'sync':11,35 'top':86 'tri':64 'two':15 'under':70 'unless':53 'use':66 'well':136 'won':18 'would':26 'write':22"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.nl/comment/4982628"
+editedAt: null
+createdAt: DateTimeImmutable @1701326843 {#4002
date: 2023-11-30 07:47:23.0 +01:00
}
}
+root: App\Entity\EntryComment {#4057}
+body: """
Oh you’re right it does work… well fuck knows what I was doing wrong before.\n
\n
Yeah this is a backup in case I like, mv file to /dev/sda1 or something.\n
\n
Not a backup of the files, but a backup of the structure.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701334734 {#4498
date: 2023-11-30 09:58:54.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@lemmyvore@feddit.nl"
]
+children: Doctrine\ORM\PersistentCollection {#4501 …}
+nested: Doctrine\ORM\PersistentCollection {#4503 …}
+votes: Doctrine\ORM\PersistentCollection {#4505 …}
+reports: Doctrine\ORM\PersistentCollection {#4507 …}
+favourites: Doctrine\ORM\PersistentCollection {#4509 …}
+notifications: Doctrine\ORM\PersistentCollection {#4511 …}
-id: 180152
-bodyTs: "'/dev/sda1':29 'backup':21,34,40 'case':23 'file':27,37 'fuck':9 'know':10 'like':25 'mv':26 'oh':1 're':3 'right':4 'someth':31 'structur':43 'well':8 'work':7 'wrong':15 'yeah':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4110842"
+editedAt: null
+createdAt: DateTimeImmutable @1701334734 {#4499
date: 2023-11-30 09:58:54.0 +01:00
}
} |
|
Show voter details
|
12 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4500
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4057
+user: App\Entity\User {#4005 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
May I point out that all a RAID1 does is sync the blocks between two drives. It won’t protect against writing something dumb that would mess up the filesystem, it will just dutifully sync it.\n
\n
You *should* be able to back up ext data from a filesystem on a RAID array, unless I’m confused about what e2image actually does. Are you trying to use it on the underlying drive devices by any chance? You have to point it at the RAID device on top of them, something like /dev/md1 rather than /dev/sda1.\n
\n
This sounds like a good extra backup to have but don’t let it lull you into a false sense of security. It may help recover from a very specific kind of mistake but the recovery may be very specific as well. It’s not file backup.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1702305922 {#4066
date: 2023-12-11 15:45:22.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4055 …}
+nested: Doctrine\ORM\PersistentCollection {#4053 …}
+votes: Doctrine\ORM\PersistentCollection {#4051 …}
+reports: Doctrine\ORM\PersistentCollection {#4049 …}
+favourites: Doctrine\ORM\PersistentCollection {#4017 …}
+notifications: Doctrine\ORM\PersistentCollection {#4021 …}
-id: 179949
-bodyTs: "'/dev/md1':91 '/dev/sda1':94 'abl':40 'actual':60 'array':52 'back':42 'backup':101,141 'block':13 'chanc':75 'confus':56 'data':45 'devic':72,84 'drive':16,71 'dumb':24 'duti':34 'e2image':59 'ext':44 'extra':100 'fals':113 'file':140 'filesystem':30,48 'good':99 'help':119 'kind':125 'let':107 'like':90,97 'lull':109 'm':55 'may':1,118,131 'mess':27 'mistak':127 'point':3,79 'protect':20 'raid':51,83 'raid1':8 'rather':92 'recov':120 'recoveri':130 'secur':116 'sens':114 'someth':23,89 'sound':96 'specif':124,134 'sync':11,35 'top':86 'tri':64 'two':15 'under':70 'unless':53 'use':66 'well':136 'won':18 'would':26 'write':22"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.nl/comment/4982628"
+editedAt: null
+createdAt: DateTimeImmutable @1701326843 {#4002
date: 2023-11-30 07:47:23.0 +01:00
}
}
+root: App\Entity\EntryComment {#4057}
+body: """
Oh you’re right it does work… well fuck knows what I was doing wrong before.\n
\n
Yeah this is a backup in case I like, mv file to /dev/sda1 or something.\n
\n
Not a backup of the files, but a backup of the structure.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701334734 {#4498
date: 2023-11-30 09:58:54.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@lemmyvore@feddit.nl"
]
+children: Doctrine\ORM\PersistentCollection {#4501 …}
+nested: Doctrine\ORM\PersistentCollection {#4503 …}
+votes: Doctrine\ORM\PersistentCollection {#4505 …}
+reports: Doctrine\ORM\PersistentCollection {#4507 …}
+favourites: Doctrine\ORM\PersistentCollection {#4509 …}
+notifications: Doctrine\ORM\PersistentCollection {#4511 …}
-id: 180152
-bodyTs: "'/dev/sda1':29 'backup':21,34,40 'case':23 'file':27,37 'fuck':9 'know':10 'like':25 'mv':26 'oh':1 're':3 'right':4 'someth':31 'structur':43 'well':8 'work':7 'wrong':15 'yeah':17"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4110842"
+editedAt: null
+createdAt: DateTimeImmutable @1701334734 {#4499
date: 2023-11-30 09:58:54.0 +01:00
}
} |
|
Show voter details
|
13 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
14 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4089
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
> e2image\n
\n
There’s a good reason for the 2 in the name.\n
\n
Today we have ext4, and ZFS of course.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702250269 {#4095
date: 2023-12-11 00:17:49.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4094 …}
+nested: Doctrine\ORM\PersistentCollection {#4093 …}
+votes: Doctrine\ORM\PersistentCollection {#4084 …}
+reports: Doctrine\ORM\PersistentCollection {#4087 …}
+favourites: Doctrine\ORM\PersistentCollection {#4082 …}
+notifications: Doctrine\ORM\PersistentCollection {#4080 …}
-id: 178908
-bodyTs: "'2':9 'cours':20 'e2image':1 'ext4':16 'good':5 'name':12 'reason':6 'today':13 'zfs':18"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682708"
+editedAt: null
+createdAt: DateTimeImmutable @1701300888 {#4100
date: 2023-11-30 00:34:48.0 +01:00
}
} |
|
Show voter details
|
15 |
DENIED
|
edit
|
App\Entity\EntryComment {#4089
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
> e2image\n
\n
There’s a good reason for the 2 in the name.\n
\n
Today we have ext4, and ZFS of course.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702250269 {#4095
date: 2023-12-11 00:17:49.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4094 …}
+nested: Doctrine\ORM\PersistentCollection {#4093 …}
+votes: Doctrine\ORM\PersistentCollection {#4084 …}
+reports: Doctrine\ORM\PersistentCollection {#4087 …}
+favourites: Doctrine\ORM\PersistentCollection {#4082 …}
+notifications: Doctrine\ORM\PersistentCollection {#4080 …}
-id: 178908
-bodyTs: "'2':9 'cours':20 'e2image':1 'ext4':16 'good':5 'name':12 'reason':6 'today':13 'zfs':18"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682708"
+editedAt: null
+createdAt: DateTimeImmutable @1701300888 {#4100
date: 2023-11-30 00:34:48.0 +01:00
}
} |
|
Show voter details
|
16 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4089
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
> e2image\n
\n
There’s a good reason for the 2 in the name.\n
\n
Today we have ext4, and ZFS of course.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702250269 {#4095
date: 2023-12-11 00:17:49.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4094 …}
+nested: Doctrine\ORM\PersistentCollection {#4093 …}
+votes: Doctrine\ORM\PersistentCollection {#4084 …}
+reports: Doctrine\ORM\PersistentCollection {#4087 …}
+favourites: Doctrine\ORM\PersistentCollection {#4082 …}
+notifications: Doctrine\ORM\PersistentCollection {#4080 …}
-id: 178908
-bodyTs: "'2':9 'cours':20 'e2image':1 'ext4':16 'good':5 'name':12 'reason':6 'today':13 'zfs':18"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682708"
+editedAt: null
+createdAt: DateTimeImmutable @1701300888 {#4100
date: 2023-11-30 00:34:48.0 +01:00
}
} |
|
Show voter details
|
17 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
18 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4484
+user: Proxies\__CG__\App\Entity\User {#4485 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4089
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
> e2image\n
\n
There’s a good reason for the 2 in the name.\n
\n
Today we have ext4, and ZFS of course.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702250269 {#4095
date: 2023-12-11 00:17:49.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4094 …}
+nested: Doctrine\ORM\PersistentCollection {#4093 …}
+votes: Doctrine\ORM\PersistentCollection {#4084 …}
+reports: Doctrine\ORM\PersistentCollection {#4087 …}
+favourites: Doctrine\ORM\PersistentCollection {#4082 …}
+notifications: Doctrine\ORM\PersistentCollection {#4080 …}
-id: 178908
-bodyTs: "'2':9 'cours':20 'e2image':1 'ext4':16 'good':5 'name':12 'reason':6 'today':13 'zfs':18"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682708"
+editedAt: null
+createdAt: DateTimeImmutable @1701300888 {#4100
date: 2023-11-30 00:34:48.0 +01:00
}
}
+root: App\Entity\EntryComment {#4089}
+body: "> e2image - Save critical ext2/ext3/ext4 file system metadata to a file"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1701305899 {#4482
date: 2023-11-30 01:58:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4486 …}
+nested: Doctrine\ORM\PersistentCollection {#4488 …}
+votes: Doctrine\ORM\PersistentCollection {#4490 …}
+reports: Doctrine\ORM\PersistentCollection {#4492 …}
+favourites: Doctrine\ORM\PersistentCollection {#4494 …}
+notifications: Doctrine\ORM\PersistentCollection {#4496 …}
-id: 179169
-bodyTs: "'critic':3 'e2image':1 'ext2/ext3/ext4':4 'file':5,10 'metadata':7 'save':2 'system':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5684535"
+editedAt: null
+createdAt: DateTimeImmutable @1701305899 {#4483
date: 2023-11-30 01:58:19.0 +01:00
}
} |
|
Show voter details
|
19 |
DENIED
|
edit
|
App\Entity\EntryComment {#4484
+user: Proxies\__CG__\App\Entity\User {#4485 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4089
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
> e2image\n
\n
There’s a good reason for the 2 in the name.\n
\n
Today we have ext4, and ZFS of course.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702250269 {#4095
date: 2023-12-11 00:17:49.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4094 …}
+nested: Doctrine\ORM\PersistentCollection {#4093 …}
+votes: Doctrine\ORM\PersistentCollection {#4084 …}
+reports: Doctrine\ORM\PersistentCollection {#4087 …}
+favourites: Doctrine\ORM\PersistentCollection {#4082 …}
+notifications: Doctrine\ORM\PersistentCollection {#4080 …}
-id: 178908
-bodyTs: "'2':9 'cours':20 'e2image':1 'ext4':16 'good':5 'name':12 'reason':6 'today':13 'zfs':18"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682708"
+editedAt: null
+createdAt: DateTimeImmutable @1701300888 {#4100
date: 2023-11-30 00:34:48.0 +01:00
}
}
+root: App\Entity\EntryComment {#4089}
+body: "> e2image - Save critical ext2/ext3/ext4 file system metadata to a file"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1701305899 {#4482
date: 2023-11-30 01:58:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4486 …}
+nested: Doctrine\ORM\PersistentCollection {#4488 …}
+votes: Doctrine\ORM\PersistentCollection {#4490 …}
+reports: Doctrine\ORM\PersistentCollection {#4492 …}
+favourites: Doctrine\ORM\PersistentCollection {#4494 …}
+notifications: Doctrine\ORM\PersistentCollection {#4496 …}
-id: 179169
-bodyTs: "'critic':3 'e2image':1 'ext2/ext3/ext4':4 'file':5,10 'metadata':7 'save':2 'system':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5684535"
+editedAt: null
+createdAt: DateTimeImmutable @1701305899 {#4483
date: 2023-11-30 01:58:19.0 +01:00
}
} |
|
Show voter details
|
20 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4484
+user: Proxies\__CG__\App\Entity\User {#4485 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4089
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
> e2image\n
\n
There’s a good reason for the 2 in the name.\n
\n
Today we have ext4, and ZFS of course.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702250269 {#4095
date: 2023-12-11 00:17:49.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4094 …}
+nested: Doctrine\ORM\PersistentCollection {#4093 …}
+votes: Doctrine\ORM\PersistentCollection {#4084 …}
+reports: Doctrine\ORM\PersistentCollection {#4087 …}
+favourites: Doctrine\ORM\PersistentCollection {#4082 …}
+notifications: Doctrine\ORM\PersistentCollection {#4080 …}
-id: 178908
-bodyTs: "'2':9 'cours':20 'e2image':1 'ext4':16 'good':5 'name':12 'reason':6 'today':13 'zfs':18"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682708"
+editedAt: null
+createdAt: DateTimeImmutable @1701300888 {#4100
date: 2023-11-30 00:34:48.0 +01:00
}
}
+root: App\Entity\EntryComment {#4089}
+body: "> e2image - Save critical ext2/ext3/ext4 file system metadata to a file"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1701305899 {#4482
date: 2023-11-30 01:58:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4486 …}
+nested: Doctrine\ORM\PersistentCollection {#4488 …}
+votes: Doctrine\ORM\PersistentCollection {#4490 …}
+reports: Doctrine\ORM\PersistentCollection {#4492 …}
+favourites: Doctrine\ORM\PersistentCollection {#4494 …}
+notifications: Doctrine\ORM\PersistentCollection {#4496 …}
-id: 179169
-bodyTs: "'critic':3 'e2image':1 'ext2/ext3/ext4':4 'file':5,10 'metadata':7 'save':2 'system':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5684535"
+editedAt: null
+createdAt: DateTimeImmutable @1701305899 {#4483
date: 2023-11-30 01:58:19.0 +01:00
}
} |
|
Show voter details
|
21 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
22 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
} |
|
Show voter details
|
23 |
DENIED
|
edit
|
App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
} |
|
Show voter details
|
24 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
} |
|
Show voter details
|
25 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
26 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4454
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
For fun and learning. It’s just another tool to go with file level backup.\n
\n
And the backup for this is 40mb and really fast, but backing up files even when compressed would be hundreds of GB, maybe terabytes, and then you’re paying for that amount of storage online somewhere, uploading for hours…
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701308170 {#4452
date: 2023-11-30 02:36:10.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4455 …}
+nested: Doctrine\ORM\PersistentCollection {#4457 …}
+votes: Doctrine\ORM\PersistentCollection {#4459 …}
+reports: Doctrine\ORM\PersistentCollection {#4461 …}
+favourites: Doctrine\ORM\PersistentCollection {#4463 …}
+notifications: Doctrine\ORM\PersistentCollection {#4465 …}
-id: 179267
-bodyTs: "'40mb':22 'amount':47 'anoth':8 'back':27 'backup':15,18 'compress':32 'even':30 'fast':25 'file':13,29 'fun':2 'gb':37 'go':11 'hour':54 'hundr':35 'learn':4 'level':14 'mayb':38 'onlin':50 'pay':44 're':43 'realli':24 'somewher':51 'storag':49 'terabyt':39 'tool':9 'upload':52 'would':33"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4105155"
+editedAt: null
+createdAt: DateTimeImmutable @1701308170 {#4453
date: 2023-11-30 02:36:10.0 +01:00
}
} |
|
Show voter details
|
27 |
DENIED
|
edit
|
App\Entity\EntryComment {#4454
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
For fun and learning. It’s just another tool to go with file level backup.\n
\n
And the backup for this is 40mb and really fast, but backing up files even when compressed would be hundreds of GB, maybe terabytes, and then you’re paying for that amount of storage online somewhere, uploading for hours…
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701308170 {#4452
date: 2023-11-30 02:36:10.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4455 …}
+nested: Doctrine\ORM\PersistentCollection {#4457 …}
+votes: Doctrine\ORM\PersistentCollection {#4459 …}
+reports: Doctrine\ORM\PersistentCollection {#4461 …}
+favourites: Doctrine\ORM\PersistentCollection {#4463 …}
+notifications: Doctrine\ORM\PersistentCollection {#4465 …}
-id: 179267
-bodyTs: "'40mb':22 'amount':47 'anoth':8 'back':27 'backup':15,18 'compress':32 'even':30 'fast':25 'file':13,29 'fun':2 'gb':37 'go':11 'hour':54 'hundr':35 'learn':4 'level':14 'mayb':38 'onlin':50 'pay':44 're':43 'realli':24 'somewher':51 'storag':49 'terabyt':39 'tool':9 'upload':52 'would':33"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4105155"
+editedAt: null
+createdAt: DateTimeImmutable @1701308170 {#4453
date: 2023-11-30 02:36:10.0 +01:00
}
} |
|
Show voter details
|
28 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4454
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
For fun and learning. It’s just another tool to go with file level backup.\n
\n
And the backup for this is 40mb and really fast, but backing up files even when compressed would be hundreds of GB, maybe terabytes, and then you’re paying for that amount of storage online somewhere, uploading for hours…
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701308170 {#4452
date: 2023-11-30 02:36:10.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4455 …}
+nested: Doctrine\ORM\PersistentCollection {#4457 …}
+votes: Doctrine\ORM\PersistentCollection {#4459 …}
+reports: Doctrine\ORM\PersistentCollection {#4461 …}
+favourites: Doctrine\ORM\PersistentCollection {#4463 …}
+notifications: Doctrine\ORM\PersistentCollection {#4465 …}
-id: 179267
-bodyTs: "'40mb':22 'amount':47 'anoth':8 'back':27 'backup':15,18 'compress':32 'even':30 'fast':25 'file':13,29 'fun':2 'gb':37 'go':11 'hour':54 'hundr':35 'learn':4 'level':14 'mayb':38 'onlin':50 'pay':44 're':43 'realli':24 'somewher':51 'storag':49 'terabyt':39 'tool':9 'upload':52 'would':33"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4105155"
+editedAt: null
+createdAt: DateTimeImmutable @1701308170 {#4453
date: 2023-11-30 02:36:10.0 +01:00
}
} |
|
Show voter details
|
29 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
30 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4552
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4454
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
For fun and learning. It’s just another tool to go with file level backup.\n
\n
And the backup for this is 40mb and really fast, but backing up files even when compressed would be hundreds of GB, maybe terabytes, and then you’re paying for that amount of storage online somewhere, uploading for hours…
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701308170 {#4452
date: 2023-11-30 02:36:10.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4455 …}
+nested: Doctrine\ORM\PersistentCollection {#4457 …}
+votes: Doctrine\ORM\PersistentCollection {#4459 …}
+reports: Doctrine\ORM\PersistentCollection {#4461 …}
+favourites: Doctrine\ORM\PersistentCollection {#4463 …}
+notifications: Doctrine\ORM\PersistentCollection {#4465 …}
-id: 179267
-bodyTs: "'40mb':22 'amount':47 'anoth':8 'back':27 'backup':15,18 'compress':32 'even':30 'fast':25 'file':13,29 'fun':2 'gb':37 'go':11 'hour':54 'hundr':35 'learn':4 'level':14 'mayb':38 'onlin':50 'pay':44 're':43 'realli':24 'somewher':51 'storag':49 'terabyt':39 'tool':9 'upload':52 'would':33"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4105155"
+editedAt: null
+createdAt: DateTimeImmutable @1701308170 {#4453
date: 2023-11-30 02:36:10.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
Picture this: you open and edit one of your documents and save it.\n
\n
The filesystem promptly allocates some blocks and updates the inodes. Maybe the inode table changed, maybe not. Repeat for some other files. Now your “inode backup” has a completely different picture of what is going on on your disk. If you try to recover the disk using it, all you will achieve is further corruption of the filesystem.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340509 {#4550
date: 2023-11-30 11:35:09.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4553 …}
+nested: Doctrine\ORM\PersistentCollection {#4555 …}
+votes: Doctrine\ORM\PersistentCollection {#4557 …}
+reports: Doctrine\ORM\PersistentCollection {#4559 …}
+favourites: Doctrine\ORM\PersistentCollection {#4561 …}
+notifications: Doctrine\ORM\PersistentCollection {#4563 …}
-id: 180366
-bodyTs: "'achiev':65 'alloc':17 'backup':39 'block':19 'chang':28 'complet':42 'corrupt':68 'differ':43 'disk':52,59 'document':10 'edit':6 'file':35 'filesystem':15,71 'go':48 'inod':23,26,38 'mayb':24,29 'one':7 'open':4 'pictur':1,44 'prompt':16 'recov':57 'repeat':31 'save':12 'tabl':27 'tri':55 'updat':21 'use':60"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692555"
+editedAt: null
+createdAt: DateTimeImmutable @1701340509 {#4551
date: 2023-11-30 11:35:09.0 +01:00
}
} |
|
Show voter details
|
31 |
DENIED
|
edit
|
App\Entity\EntryComment {#4552
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4454
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
For fun and learning. It’s just another tool to go with file level backup.\n
\n
And the backup for this is 40mb and really fast, but backing up files even when compressed would be hundreds of GB, maybe terabytes, and then you’re paying for that amount of storage online somewhere, uploading for hours…
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701308170 {#4452
date: 2023-11-30 02:36:10.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4455 …}
+nested: Doctrine\ORM\PersistentCollection {#4457 …}
+votes: Doctrine\ORM\PersistentCollection {#4459 …}
+reports: Doctrine\ORM\PersistentCollection {#4461 …}
+favourites: Doctrine\ORM\PersistentCollection {#4463 …}
+notifications: Doctrine\ORM\PersistentCollection {#4465 …}
-id: 179267
-bodyTs: "'40mb':22 'amount':47 'anoth':8 'back':27 'backup':15,18 'compress':32 'even':30 'fast':25 'file':13,29 'fun':2 'gb':37 'go':11 'hour':54 'hundr':35 'learn':4 'level':14 'mayb':38 'onlin':50 'pay':44 're':43 'realli':24 'somewher':51 'storag':49 'terabyt':39 'tool':9 'upload':52 'would':33"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4105155"
+editedAt: null
+createdAt: DateTimeImmutable @1701308170 {#4453
date: 2023-11-30 02:36:10.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
Picture this: you open and edit one of your documents and save it.\n
\n
The filesystem promptly allocates some blocks and updates the inodes. Maybe the inode table changed, maybe not. Repeat for some other files. Now your “inode backup” has a completely different picture of what is going on on your disk. If you try to recover the disk using it, all you will achieve is further corruption of the filesystem.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340509 {#4550
date: 2023-11-30 11:35:09.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4553 …}
+nested: Doctrine\ORM\PersistentCollection {#4555 …}
+votes: Doctrine\ORM\PersistentCollection {#4557 …}
+reports: Doctrine\ORM\PersistentCollection {#4559 …}
+favourites: Doctrine\ORM\PersistentCollection {#4561 …}
+notifications: Doctrine\ORM\PersistentCollection {#4563 …}
-id: 180366
-bodyTs: "'achiev':65 'alloc':17 'backup':39 'block':19 'chang':28 'complet':42 'corrupt':68 'differ':43 'disk':52,59 'document':10 'edit':6 'file':35 'filesystem':15,71 'go':48 'inod':23,26,38 'mayb':24,29 'one':7 'open':4 'pictur':1,44 'prompt':16 'recov':57 'repeat':31 'save':12 'tabl':27 'tri':55 'updat':21 'use':60"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692555"
+editedAt: null
+createdAt: DateTimeImmutable @1701340509 {#4551
date: 2023-11-30 11:35:09.0 +01:00
}
} |
|
Show voter details
|
32 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4552
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4454
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
For fun and learning. It’s just another tool to go with file level backup.\n
\n
And the backup for this is 40mb and really fast, but backing up files even when compressed would be hundreds of GB, maybe terabytes, and then you’re paying for that amount of storage online somewhere, uploading for hours…
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701308170 {#4452
date: 2023-11-30 02:36:10.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4455 …}
+nested: Doctrine\ORM\PersistentCollection {#4457 …}
+votes: Doctrine\ORM\PersistentCollection {#4459 …}
+reports: Doctrine\ORM\PersistentCollection {#4461 …}
+favourites: Doctrine\ORM\PersistentCollection {#4463 …}
+notifications: Doctrine\ORM\PersistentCollection {#4465 …}
-id: 179267
-bodyTs: "'40mb':22 'amount':47 'anoth':8 'back':27 'backup':15,18 'compress':32 'even':30 'fast':25 'file':13,29 'fun':2 'gb':37 'go':11 'hour':54 'hundr':35 'learn':4 'level':14 'mayb':38 'onlin':50 'pay':44 're':43 'realli':24 'somewher':51 'storag':49 'terabyt':39 'tool':9 'upload':52 'would':33"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4105155"
+editedAt: null
+createdAt: DateTimeImmutable @1701308170 {#4453
date: 2023-11-30 02:36:10.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
Picture this: you open and edit one of your documents and save it.\n
\n
The filesystem promptly allocates some blocks and updates the inodes. Maybe the inode table changed, maybe not. Repeat for some other files. Now your “inode backup” has a completely different picture of what is going on on your disk. If you try to recover the disk using it, all you will achieve is further corruption of the filesystem.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340509 {#4550
date: 2023-11-30 11:35:09.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4553 …}
+nested: Doctrine\ORM\PersistentCollection {#4555 …}
+votes: Doctrine\ORM\PersistentCollection {#4557 …}
+reports: Doctrine\ORM\PersistentCollection {#4559 …}
+favourites: Doctrine\ORM\PersistentCollection {#4561 …}
+notifications: Doctrine\ORM\PersistentCollection {#4563 …}
-id: 180366
-bodyTs: "'achiev':65 'alloc':17 'backup':39 'block':19 'chang':28 'complet':42 'corrupt':68 'differ':43 'disk':52,59 'document':10 'edit':6 'file':35 'filesystem':15,71 'go':48 'inod':23,26,38 'mayb':24,29 'one':7 'open':4 'pictur':1,44 'prompt':16 'recov':57 'repeat':31 'save':12 'tabl':27 'tri':55 'updat':21 'use':60"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692555"
+editedAt: null
+createdAt: DateTimeImmutable @1701340509 {#4551
date: 2023-11-30 11:35:09.0 +01:00
}
} |
|
Show voter details
|
33 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
34 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
} |
|
Show voter details
|
35 |
DENIED
|
edit
|
App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
} |
|
Show voter details
|
36 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
} |
|
Show voter details
|
37 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
38 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4518
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: "Ok time to investigate ZFS"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701308198 {#4517
date: 2023-11-30 02:36:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4522 …}
+nested: Doctrine\ORM\PersistentCollection {#4528 …}
+votes: Doctrine\ORM\PersistentCollection {#4524 …}
+reports: Doctrine\ORM\PersistentCollection {#4529 …}
+favourites: Doctrine\ORM\PersistentCollection {#4531 …}
+notifications: Doctrine\ORM\PersistentCollection {#4533 …}
-id: 179271
-bodyTs: "'investig':4 'ok':1 'time':2 'zfs':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4105164"
+editedAt: null
+createdAt: DateTimeImmutable @1701308198 {#4514
date: 2023-11-30 02:36:38.0 +01:00
}
} |
|
Show voter details
|
39 |
DENIED
|
edit
|
App\Entity\EntryComment {#4518
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: "Ok time to investigate ZFS"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701308198 {#4517
date: 2023-11-30 02:36:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4522 …}
+nested: Doctrine\ORM\PersistentCollection {#4528 …}
+votes: Doctrine\ORM\PersistentCollection {#4524 …}
+reports: Doctrine\ORM\PersistentCollection {#4529 …}
+favourites: Doctrine\ORM\PersistentCollection {#4531 …}
+notifications: Doctrine\ORM\PersistentCollection {#4533 …}
-id: 179271
-bodyTs: "'investig':4 'ok':1 'time':2 'zfs':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4105164"
+editedAt: null
+createdAt: DateTimeImmutable @1701308198 {#4514
date: 2023-11-30 02:36:38.0 +01:00
}
} |
|
Show voter details
|
40 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4518
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: "Ok time to investigate ZFS"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701308198 {#4517
date: 2023-11-30 02:36:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4522 …}
+nested: Doctrine\ORM\PersistentCollection {#4528 …}
+votes: Doctrine\ORM\PersistentCollection {#4524 …}
+reports: Doctrine\ORM\PersistentCollection {#4529 …}
+favourites: Doctrine\ORM\PersistentCollection {#4531 …}
+notifications: Doctrine\ORM\PersistentCollection {#4533 …}
-id: 179271
-bodyTs: "'investig':4 'ok':1 'time':2 'zfs':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4105164"
+editedAt: null
+createdAt: DateTimeImmutable @1701308198 {#4514
date: 2023-11-30 02:36:38.0 +01:00
}
} |
|
Show voter details
|
41 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
42 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4537
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
“Proper backups” imply that you have multiple backups and a backup strategy. That could mean, for instance, that you would do a full backup, then an incremental/differential backup each week and keep one backup for each month. A bad cable would cause you trouble, no doubt, but the impact would be lessened by having multiple backups points spread over months.\n
\n
Redundancy is not backup. Read that again.\n
\n
Redundancy is important for system resilience, but backup is crucial for continuity. Every filesystem is subject to bugs and ZFS is not special. [Here](https://www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)’s an article from a couple of days ago. If you’re comfortable with no backups just because you have redundancy, more power to you. I wouldn’t be.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340018 {#4535
date: 2023-11-30 11:26:58.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4538 …}
+nested: Doctrine\ORM\PersistentCollection {#4540 …}
+votes: Doctrine\ORM\PersistentCollection {#4542 …}
+reports: Doctrine\ORM\PersistentCollection {#4544 …}
+favourites: Doctrine\ORM\PersistentCollection {#4546 …}
+notifications: Doctrine\ORM\PersistentCollection {#4548 …}
-id: 180356
-bodyTs: "'/2023/11/27/openzfs_2_2_0_data_corruption/)':94 'ago':103 'articl':97 'backup':2,8,11,24,28,34,56,64,75,110 'bad':39 'bug':85 'cabl':40 'caus':42 'comfort':107 'continu':79 'could':14 'coupl':100 'crucial':77 'day':102 'doubt':46 'everi':80 'filesystem':81 'full':23 'impact':49 'impli':3 'import':70 'incremental/differential':27 'instanc':17 'keep':32 'lessen':52 'mean':15 'month':37,60 'multipl':7,55 'one':33 'point':57 'power':117 'proper':1 're':106 'read':65 'redund':61,68,115 'resili':73 'special':90 'spread':58 'strategi':12 'subject':83 'system':72 'troubl':44 'week':30 'would':20,41,50 'wouldn':121 'www.theregister.com':93 'www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)':92 'zfs':87"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692479"
+editedAt: null
+createdAt: DateTimeImmutable @1701340018 {#4536
date: 2023-11-30 11:26:58.0 +01:00
}
} |
|
Show voter details
|
43 |
DENIED
|
edit
|
App\Entity\EntryComment {#4537
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
“Proper backups” imply that you have multiple backups and a backup strategy. That could mean, for instance, that you would do a full backup, then an incremental/differential backup each week and keep one backup for each month. A bad cable would cause you trouble, no doubt, but the impact would be lessened by having multiple backups points spread over months.\n
\n
Redundancy is not backup. Read that again.\n
\n
Redundancy is important for system resilience, but backup is crucial for continuity. Every filesystem is subject to bugs and ZFS is not special. [Here](https://www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)’s an article from a couple of days ago. If you’re comfortable with no backups just because you have redundancy, more power to you. I wouldn’t be.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340018 {#4535
date: 2023-11-30 11:26:58.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4538 …}
+nested: Doctrine\ORM\PersistentCollection {#4540 …}
+votes: Doctrine\ORM\PersistentCollection {#4542 …}
+reports: Doctrine\ORM\PersistentCollection {#4544 …}
+favourites: Doctrine\ORM\PersistentCollection {#4546 …}
+notifications: Doctrine\ORM\PersistentCollection {#4548 …}
-id: 180356
-bodyTs: "'/2023/11/27/openzfs_2_2_0_data_corruption/)':94 'ago':103 'articl':97 'backup':2,8,11,24,28,34,56,64,75,110 'bad':39 'bug':85 'cabl':40 'caus':42 'comfort':107 'continu':79 'could':14 'coupl':100 'crucial':77 'day':102 'doubt':46 'everi':80 'filesystem':81 'full':23 'impact':49 'impli':3 'import':70 'incremental/differential':27 'instanc':17 'keep':32 'lessen':52 'mean':15 'month':37,60 'multipl':7,55 'one':33 'point':57 'power':117 'proper':1 're':106 'read':65 'redund':61,68,115 'resili':73 'special':90 'spread':58 'strategi':12 'subject':83 'system':72 'troubl':44 'week':30 'would':20,41,50 'wouldn':121 'www.theregister.com':93 'www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)':92 'zfs':87"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692479"
+editedAt: null
+createdAt: DateTimeImmutable @1701340018 {#4536
date: 2023-11-30 11:26:58.0 +01:00
}
} |
|
Show voter details
|
44 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4537
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
“Proper backups” imply that you have multiple backups and a backup strategy. That could mean, for instance, that you would do a full backup, then an incremental/differential backup each week and keep one backup for each month. A bad cable would cause you trouble, no doubt, but the impact would be lessened by having multiple backups points spread over months.\n
\n
Redundancy is not backup. Read that again.\n
\n
Redundancy is important for system resilience, but backup is crucial for continuity. Every filesystem is subject to bugs and ZFS is not special. [Here](https://www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)’s an article from a couple of days ago. If you’re comfortable with no backups just because you have redundancy, more power to you. I wouldn’t be.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340018 {#4535
date: 2023-11-30 11:26:58.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4538 …}
+nested: Doctrine\ORM\PersistentCollection {#4540 …}
+votes: Doctrine\ORM\PersistentCollection {#4542 …}
+reports: Doctrine\ORM\PersistentCollection {#4544 …}
+favourites: Doctrine\ORM\PersistentCollection {#4546 …}
+notifications: Doctrine\ORM\PersistentCollection {#4548 …}
-id: 180356
-bodyTs: "'/2023/11/27/openzfs_2_2_0_data_corruption/)':94 'ago':103 'articl':97 'backup':2,8,11,24,28,34,56,64,75,110 'bad':39 'bug':85 'cabl':40 'caus':42 'comfort':107 'continu':79 'could':14 'coupl':100 'crucial':77 'day':102 'doubt':46 'everi':80 'filesystem':81 'full':23 'impact':49 'impli':3 'import':70 'incremental/differential':27 'instanc':17 'keep':32 'lessen':52 'mean':15 'month':37,60 'multipl':7,55 'one':33 'point':57 'power':117 'proper':1 're':106 'read':65 'redund':61,68,115 'resili':73 'special':90 'spread':58 'strategi':12 'subject':83 'system':72 'troubl':44 'week':30 'would':20,41,50 'wouldn':121 'www.theregister.com':93 'www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)':92 'zfs':87"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692479"
+editedAt: null
+createdAt: DateTimeImmutable @1701340018 {#4536
date: 2023-11-30 11:26:58.0 +01:00
}
} |
|
Show voter details
|
45 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
46 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4575
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4537
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
“Proper backups” imply that you have multiple backups and a backup strategy. That could mean, for instance, that you would do a full backup, then an incremental/differential backup each week and keep one backup for each month. A bad cable would cause you trouble, no doubt, but the impact would be lessened by having multiple backups points spread over months.\n
\n
Redundancy is not backup. Read that again.\n
\n
Redundancy is important for system resilience, but backup is crucial for continuity. Every filesystem is subject to bugs and ZFS is not special. [Here](https://www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)’s an article from a couple of days ago. If you’re comfortable with no backups just because you have redundancy, more power to you. I wouldn’t be.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340018 {#4535
date: 2023-11-30 11:26:58.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4538 …}
+nested: Doctrine\ORM\PersistentCollection {#4540 …}
+votes: Doctrine\ORM\PersistentCollection {#4542 …}
+reports: Doctrine\ORM\PersistentCollection {#4544 …}
+favourites: Doctrine\ORM\PersistentCollection {#4546 …}
+notifications: Doctrine\ORM\PersistentCollection {#4548 …}
-id: 180356
-bodyTs: "'/2023/11/27/openzfs_2_2_0_data_corruption/)':94 'ago':103 'articl':97 'backup':2,8,11,24,28,34,56,64,75,110 'bad':39 'bug':85 'cabl':40 'caus':42 'comfort':107 'continu':79 'could':14 'coupl':100 'crucial':77 'day':102 'doubt':46 'everi':80 'filesystem':81 'full':23 'impact':49 'impli':3 'import':70 'incremental/differential':27 'instanc':17 'keep':32 'lessen':52 'mean':15 'month':37,60 'multipl':7,55 'one':33 'point':57 'power':117 'proper':1 're':106 'read':65 'redund':61,68,115 'resili':73 'special':90 'spread':58 'strategi':12 'subject':83 'system':72 'troubl':44 'week':30 'would':20,41,50 'wouldn':121 'www.theregister.com':93 'www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)':92 'zfs':87"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692479"
+editedAt: null
+createdAt: DateTimeImmutable @1701340018 {#4536
date: 2023-11-30 11:26:58.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
I wasn’t saying backups are useless or something.\n
\n
I was saying there are situations that backups can’t solve.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340411 {#4576
date: 2023-11-30 11:33:31.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4572 …}
+nested: Doctrine\ORM\PersistentCollection {#4568 …}
+votes: Doctrine\ORM\PersistentCollection {#4566 …}
+reports: Doctrine\ORM\PersistentCollection {#4581 …}
+favourites: Doctrine\ORM\PersistentCollection {#4583 …}
+notifications: Doctrine\ORM\PersistentCollection {#4585 …}
-id: 180365
-bodyTs: "'backup':5,17 'say':4,12 'situat':15 'solv':20 'someth':9 'useless':7 'wasn':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692541"
+editedAt: null
+createdAt: DateTimeImmutable @1701340411 {#4579
date: 2023-11-30 11:33:31.0 +01:00
}
} |
|
Show voter details
|
47 |
DENIED
|
edit
|
App\Entity\EntryComment {#4575
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4537
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
“Proper backups” imply that you have multiple backups and a backup strategy. That could mean, for instance, that you would do a full backup, then an incremental/differential backup each week and keep one backup for each month. A bad cable would cause you trouble, no doubt, but the impact would be lessened by having multiple backups points spread over months.\n
\n
Redundancy is not backup. Read that again.\n
\n
Redundancy is important for system resilience, but backup is crucial for continuity. Every filesystem is subject to bugs and ZFS is not special. [Here](https://www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)’s an article from a couple of days ago. If you’re comfortable with no backups just because you have redundancy, more power to you. I wouldn’t be.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340018 {#4535
date: 2023-11-30 11:26:58.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4538 …}
+nested: Doctrine\ORM\PersistentCollection {#4540 …}
+votes: Doctrine\ORM\PersistentCollection {#4542 …}
+reports: Doctrine\ORM\PersistentCollection {#4544 …}
+favourites: Doctrine\ORM\PersistentCollection {#4546 …}
+notifications: Doctrine\ORM\PersistentCollection {#4548 …}
-id: 180356
-bodyTs: "'/2023/11/27/openzfs_2_2_0_data_corruption/)':94 'ago':103 'articl':97 'backup':2,8,11,24,28,34,56,64,75,110 'bad':39 'bug':85 'cabl':40 'caus':42 'comfort':107 'continu':79 'could':14 'coupl':100 'crucial':77 'day':102 'doubt':46 'everi':80 'filesystem':81 'full':23 'impact':49 'impli':3 'import':70 'incremental/differential':27 'instanc':17 'keep':32 'lessen':52 'mean':15 'month':37,60 'multipl':7,55 'one':33 'point':57 'power':117 'proper':1 're':106 'read':65 'redund':61,68,115 'resili':73 'special':90 'spread':58 'strategi':12 'subject':83 'system':72 'troubl':44 'week':30 'would':20,41,50 'wouldn':121 'www.theregister.com':93 'www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)':92 'zfs':87"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692479"
+editedAt: null
+createdAt: DateTimeImmutable @1701340018 {#4536
date: 2023-11-30 11:26:58.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
I wasn’t saying backups are useless or something.\n
\n
I was saying there are situations that backups can’t solve.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340411 {#4576
date: 2023-11-30 11:33:31.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4572 …}
+nested: Doctrine\ORM\PersistentCollection {#4568 …}
+votes: Doctrine\ORM\PersistentCollection {#4566 …}
+reports: Doctrine\ORM\PersistentCollection {#4581 …}
+favourites: Doctrine\ORM\PersistentCollection {#4583 …}
+notifications: Doctrine\ORM\PersistentCollection {#4585 …}
-id: 180365
-bodyTs: "'backup':5,17 'say':4,12 'situat':15 'solv':20 'someth':9 'useless':7 'wasn':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692541"
+editedAt: null
+createdAt: DateTimeImmutable @1701340411 {#4579
date: 2023-11-30 11:33:31.0 +01:00
}
} |
|
Show voter details
|
48 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4575
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4537
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
“Proper backups” imply that you have multiple backups and a backup strategy. That could mean, for instance, that you would do a full backup, then an incremental/differential backup each week and keep one backup for each month. A bad cable would cause you trouble, no doubt, but the impact would be lessened by having multiple backups points spread over months.\n
\n
Redundancy is not backup. Read that again.\n
\n
Redundancy is important for system resilience, but backup is crucial for continuity. Every filesystem is subject to bugs and ZFS is not special. [Here](https://www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)’s an article from a couple of days ago. If you’re comfortable with no backups just because you have redundancy, more power to you. I wouldn’t be.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340018 {#4535
date: 2023-11-30 11:26:58.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4538 …}
+nested: Doctrine\ORM\PersistentCollection {#4540 …}
+votes: Doctrine\ORM\PersistentCollection {#4542 …}
+reports: Doctrine\ORM\PersistentCollection {#4544 …}
+favourites: Doctrine\ORM\PersistentCollection {#4546 …}
+notifications: Doctrine\ORM\PersistentCollection {#4548 …}
-id: 180356
-bodyTs: "'/2023/11/27/openzfs_2_2_0_data_corruption/)':94 'ago':103 'articl':97 'backup':2,8,11,24,28,34,56,64,75,110 'bad':39 'bug':85 'cabl':40 'caus':42 'comfort':107 'continu':79 'could':14 'coupl':100 'crucial':77 'day':102 'doubt':46 'everi':80 'filesystem':81 'full':23 'impact':49 'impli':3 'import':70 'incremental/differential':27 'instanc':17 'keep':32 'lessen':52 'mean':15 'month':37,60 'multipl':7,55 'one':33 'point':57 'power':117 'proper':1 're':106 'read':65 'redund':61,68,115 'resili':73 'special':90 'spread':58 'strategi':12 'subject':83 'system':72 'troubl':44 'week':30 'would':20,41,50 'wouldn':121 'www.theregister.com':93 'www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)':92 'zfs':87"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692479"
+editedAt: null
+createdAt: DateTimeImmutable @1701340018 {#4536
date: 2023-11-30 11:26:58.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
I wasn’t saying backups are useless or something.\n
\n
I was saying there are situations that backups can’t solve.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340411 {#4576
date: 2023-11-30 11:33:31.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4572 …}
+nested: Doctrine\ORM\PersistentCollection {#4568 …}
+votes: Doctrine\ORM\PersistentCollection {#4566 …}
+reports: Doctrine\ORM\PersistentCollection {#4581 …}
+favourites: Doctrine\ORM\PersistentCollection {#4583 …}
+notifications: Doctrine\ORM\PersistentCollection {#4585 …}
-id: 180365
-bodyTs: "'backup':5,17 'say':4,12 'situat':15 'solv':20 'someth':9 'useless':7 'wasn':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692541"
+editedAt: null
+createdAt: DateTimeImmutable @1701340411 {#4579
date: 2023-11-30 11:33:31.0 +01:00
}
} |
|
Show voter details
|
49 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
50 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4602
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4575
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4537
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
“Proper backups” imply that you have multiple backups and a backup strategy. That could mean, for instance, that you would do a full backup, then an incremental/differential backup each week and keep one backup for each month. A bad cable would cause you trouble, no doubt, but the impact would be lessened by having multiple backups points spread over months.\n
\n
Redundancy is not backup. Read that again.\n
\n
Redundancy is important for system resilience, but backup is crucial for continuity. Every filesystem is subject to bugs and ZFS is not special. [Here](https://www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)’s an article from a couple of days ago. If you’re comfortable with no backups just because you have redundancy, more power to you. I wouldn’t be.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340018 {#4535
date: 2023-11-30 11:26:58.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4538 …}
+nested: Doctrine\ORM\PersistentCollection {#4540 …}
+votes: Doctrine\ORM\PersistentCollection {#4542 …}
+reports: Doctrine\ORM\PersistentCollection {#4544 …}
+favourites: Doctrine\ORM\PersistentCollection {#4546 …}
+notifications: Doctrine\ORM\PersistentCollection {#4548 …}
-id: 180356
-bodyTs: "'/2023/11/27/openzfs_2_2_0_data_corruption/)':94 'ago':103 'articl':97 'backup':2,8,11,24,28,34,56,64,75,110 'bad':39 'bug':85 'cabl':40 'caus':42 'comfort':107 'continu':79 'could':14 'coupl':100 'crucial':77 'day':102 'doubt':46 'everi':80 'filesystem':81 'full':23 'impact':49 'impli':3 'import':70 'incremental/differential':27 'instanc':17 'keep':32 'lessen':52 'mean':15 'month':37,60 'multipl':7,55 'one':33 'point':57 'power':117 'proper':1 're':106 'read':65 'redund':61,68,115 'resili':73 'special':90 'spread':58 'strategi':12 'subject':83 'system':72 'troubl':44 'week':30 'would':20,41,50 'wouldn':121 'www.theregister.com':93 'www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)':92 'zfs':87"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692479"
+editedAt: null
+createdAt: DateTimeImmutable @1701340018 {#4536
date: 2023-11-30 11:26:58.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
I wasn’t saying backups are useless or something.\n
\n
I was saying there are situations that backups can’t solve.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340411 {#4576
date: 2023-11-30 11:33:31.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4572 …}
+nested: Doctrine\ORM\PersistentCollection {#4568 …}
+votes: Doctrine\ORM\PersistentCollection {#4566 …}
+reports: Doctrine\ORM\PersistentCollection {#4581 …}
+favourites: Doctrine\ORM\PersistentCollection {#4583 …}
+notifications: Doctrine\ORM\PersistentCollection {#4585 …}
-id: 180365
-bodyTs: "'backup':5,17 'say':4,12 'situat':15 'solv':20 'someth':9 'useless':7 'wasn':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692541"
+editedAt: null
+createdAt: DateTimeImmutable @1701340411 {#4579
date: 2023-11-30 11:33:31.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
Sure, all the work you do between the moment of the filesystem failure and the last backup is gone. There’s nothing that can be done to mitigate that fact, other that more frequent backups and/or a synchronized (mirror) system.\n
\n
Backups are just a simple way to keep you from having to explain to your partner that you lost all the pictures and videos you took along the years.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340910 {#4597
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4594 …}
+nested: Doctrine\ORM\PersistentCollection {#4591 …}
+votes: Doctrine\ORM\PersistentCollection {#4589 …}
+reports: Doctrine\ORM\PersistentCollection {#4603 …}
+favourites: Doctrine\ORM\PersistentCollection {#4605 …}
+notifications: Doctrine\ORM\PersistentCollection {#4607 …}
-id: 180372
-bodyTs: "'along':67 'and/or':36 'backup':17,35,41 'done':26 'explain':53 'fact':30 'failur':13 'filesystem':12 'frequent':34 'gone':19 'keep':48 'last':16 'lost':59 'mirror':39 'mitig':28 'moment':9 'noth':22 'partner':56 'pictur':62 'simpl':45 'sure':1 'synchron':38 'system':40 'took':66 'video':64 'way':46 'work':4 'year':69"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692621"
+editedAt: null
+createdAt: DateTimeImmutable @1701340910 {#4600
date: 2023-11-30 11:41:50.0 +01:00
}
} |
|
Show voter details
|
51 |
DENIED
|
edit
|
App\Entity\EntryComment {#4602
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4575
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4537
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
“Proper backups” imply that you have multiple backups and a backup strategy. That could mean, for instance, that you would do a full backup, then an incremental/differential backup each week and keep one backup for each month. A bad cable would cause you trouble, no doubt, but the impact would be lessened by having multiple backups points spread over months.\n
\n
Redundancy is not backup. Read that again.\n
\n
Redundancy is important for system resilience, but backup is crucial for continuity. Every filesystem is subject to bugs and ZFS is not special. [Here](https://www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)’s an article from a couple of days ago. If you’re comfortable with no backups just because you have redundancy, more power to you. I wouldn’t be.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340018 {#4535
date: 2023-11-30 11:26:58.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4538 …}
+nested: Doctrine\ORM\PersistentCollection {#4540 …}
+votes: Doctrine\ORM\PersistentCollection {#4542 …}
+reports: Doctrine\ORM\PersistentCollection {#4544 …}
+favourites: Doctrine\ORM\PersistentCollection {#4546 …}
+notifications: Doctrine\ORM\PersistentCollection {#4548 …}
-id: 180356
-bodyTs: "'/2023/11/27/openzfs_2_2_0_data_corruption/)':94 'ago':103 'articl':97 'backup':2,8,11,24,28,34,56,64,75,110 'bad':39 'bug':85 'cabl':40 'caus':42 'comfort':107 'continu':79 'could':14 'coupl':100 'crucial':77 'day':102 'doubt':46 'everi':80 'filesystem':81 'full':23 'impact':49 'impli':3 'import':70 'incremental/differential':27 'instanc':17 'keep':32 'lessen':52 'mean':15 'month':37,60 'multipl':7,55 'one':33 'point':57 'power':117 'proper':1 're':106 'read':65 'redund':61,68,115 'resili':73 'special':90 'spread':58 'strategi':12 'subject':83 'system':72 'troubl':44 'week':30 'would':20,41,50 'wouldn':121 'www.theregister.com':93 'www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)':92 'zfs':87"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692479"
+editedAt: null
+createdAt: DateTimeImmutable @1701340018 {#4536
date: 2023-11-30 11:26:58.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
I wasn’t saying backups are useless or something.\n
\n
I was saying there are situations that backups can’t solve.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340411 {#4576
date: 2023-11-30 11:33:31.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4572 …}
+nested: Doctrine\ORM\PersistentCollection {#4568 …}
+votes: Doctrine\ORM\PersistentCollection {#4566 …}
+reports: Doctrine\ORM\PersistentCollection {#4581 …}
+favourites: Doctrine\ORM\PersistentCollection {#4583 …}
+notifications: Doctrine\ORM\PersistentCollection {#4585 …}
-id: 180365
-bodyTs: "'backup':5,17 'say':4,12 'situat':15 'solv':20 'someth':9 'useless':7 'wasn':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692541"
+editedAt: null
+createdAt: DateTimeImmutable @1701340411 {#4579
date: 2023-11-30 11:33:31.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
Sure, all the work you do between the moment of the filesystem failure and the last backup is gone. There’s nothing that can be done to mitigate that fact, other that more frequent backups and/or a synchronized (mirror) system.\n
\n
Backups are just a simple way to keep you from having to explain to your partner that you lost all the pictures and videos you took along the years.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340910 {#4597
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4594 …}
+nested: Doctrine\ORM\PersistentCollection {#4591 …}
+votes: Doctrine\ORM\PersistentCollection {#4589 …}
+reports: Doctrine\ORM\PersistentCollection {#4603 …}
+favourites: Doctrine\ORM\PersistentCollection {#4605 …}
+notifications: Doctrine\ORM\PersistentCollection {#4607 …}
-id: 180372
-bodyTs: "'along':67 'and/or':36 'backup':17,35,41 'done':26 'explain':53 'fact':30 'failur':13 'filesystem':12 'frequent':34 'gone':19 'keep':48 'last':16 'lost':59 'mirror':39 'mitig':28 'moment':9 'noth':22 'partner':56 'pictur':62 'simpl':45 'sure':1 'synchron':38 'system':40 'took':66 'video':64 'way':46 'work':4 'year':69"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692621"
+editedAt: null
+createdAt: DateTimeImmutable @1701340910 {#4600
date: 2023-11-30 11:41:50.0 +01:00
}
} |
|
Show voter details
|
52 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4602
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4575
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4537
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4469
+user: App\Entity\User {#4078 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4174
+user: App\Entity\User {#4187 …}
+entry: App\Entity\Entry {#2413}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702313623 {#4169
date: 2023-12-11 17:53:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4175 …}
+nested: Doctrine\ORM\PersistentCollection {#4177 …}
+votes: Doctrine\ORM\PersistentCollection {#4179 …}
+reports: Doctrine\ORM\PersistentCollection {#4181 …}
+favourites: Doctrine\ORM\PersistentCollection {#4183 …}
+notifications: Doctrine\ORM\PersistentCollection {#4185 …}
-id: 178801
-bodyTs: "'backup':20 'curious':4 'file':18 'go':8 'instead':13 'level':19 'm':2 'proper':17 'realli':3 'restor':22 'solut':23 'troubl':12 'use':15"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682024"
+editedAt: null
+createdAt: DateTimeImmutable @1701298648 {#4170
date: 2023-11-29 23:57:28.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
> instead of using a proper file level backup\n
\n
Backups do not solve everything.\n
\n
For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.\n
\n
Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701300686 {#4467
date: 2023-11-30 00:31:26.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4470 …}
+nested: Doctrine\ORM\PersistentCollection {#4472 …}
+votes: Doctrine\ORM\PersistentCollection {#4474 …}
+reports: Doctrine\ORM\PersistentCollection {#4476 …}
+favourites: Doctrine\ORM\PersistentCollection {#4478 …}
+notifications: Doctrine\ORM\PersistentCollection {#4480 …}
-id: 178900
-bodyTs: "'5':33 '50':35 'backup':8,9 'bad':20 'better':99 'broken':36 'cabl':21 'caus':78 'chanc':55 'damag':29,65 'day':39,60 'everi':38 'everyth':13 'exampl':15 'file':6,37,68 'find':75 'hard':53 'identifi':57 'instead':1 'kinda':26 'let':30 'level':7 'much':98 'notic':46 'proper':5 'recoveri':89 'redund':84 'root':77 'say':32 'silent':28 'sleep':95 'sneak':27 'solv':12 'sometim':62 'system':69 'today':79 'took':72 'use':3,81 'week':44 'zfs':82"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682638"
+editedAt: null
+createdAt: DateTimeImmutable @1701300686 {#4468
date: 2023-11-30 00:31:26.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
“Proper backups” imply that you have multiple backups and a backup strategy. That could mean, for instance, that you would do a full backup, then an incremental/differential backup each week and keep one backup for each month. A bad cable would cause you trouble, no doubt, but the impact would be lessened by having multiple backups points spread over months.\n
\n
Redundancy is not backup. Read that again.\n
\n
Redundancy is important for system resilience, but backup is crucial for continuity. Every filesystem is subject to bugs and ZFS is not special. [Here](https://www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)’s an article from a couple of days ago. If you’re comfortable with no backups just because you have redundancy, more power to you. I wouldn’t be.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340018 {#4535
date: 2023-11-30 11:26:58.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4538 …}
+nested: Doctrine\ORM\PersistentCollection {#4540 …}
+votes: Doctrine\ORM\PersistentCollection {#4542 …}
+reports: Doctrine\ORM\PersistentCollection {#4544 …}
+favourites: Doctrine\ORM\PersistentCollection {#4546 …}
+notifications: Doctrine\ORM\PersistentCollection {#4548 …}
-id: 180356
-bodyTs: "'/2023/11/27/openzfs_2_2_0_data_corruption/)':94 'ago':103 'articl':97 'backup':2,8,11,24,28,34,56,64,75,110 'bad':39 'bug':85 'cabl':40 'caus':42 'comfort':107 'continu':79 'could':14 'coupl':100 'crucial':77 'day':102 'doubt':46 'everi':80 'filesystem':81 'full':23 'impact':49 'impli':3 'import':70 'incremental/differential':27 'instanc':17 'keep':32 'lessen':52 'mean':15 'month':37,60 'multipl':7,55 'one':33 'point':57 'power':117 'proper':1 're':106 'read':65 'redund':61,68,115 'resili':73 'special':90 'spread':58 'strategi':12 'subject':83 'system':72 'troubl':44 'week':30 'would':20,41,50 'wouldn':121 'www.theregister.com':93 'www.theregister.com/2023/11/27/openzfs_2_2_0_data_corruption/)':92 'zfs':87"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692479"
+editedAt: null
+createdAt: DateTimeImmutable @1701340018 {#4536
date: 2023-11-30 11:26:58.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
I wasn’t saying backups are useless or something.\n
\n
I was saying there are situations that backups can’t solve.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340411 {#4576
date: 2023-11-30 11:33:31.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4572 …}
+nested: Doctrine\ORM\PersistentCollection {#4568 …}
+votes: Doctrine\ORM\PersistentCollection {#4566 …}
+reports: Doctrine\ORM\PersistentCollection {#4581 …}
+favourites: Doctrine\ORM\PersistentCollection {#4583 …}
+notifications: Doctrine\ORM\PersistentCollection {#4585 …}
-id: 180365
-bodyTs: "'backup':5,17 'say':4,12 'situat':15 'solv':20 'someth':9 'useless':7 'wasn':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692541"
+editedAt: null
+createdAt: DateTimeImmutable @1701340411 {#4579
date: 2023-11-30 11:33:31.0 +01:00
}
}
+root: App\Entity\EntryComment {#4174}
+body: """
Sure, all the work you do between the moment of the filesystem failure and the last backup is gone. There’s nothing that can be done to mitigate that fact, other that more frequent backups and/or a synchronized (mirror) system.\n
\n
Backups are just a simple way to keep you from having to explain to your partner that you lost all the pictures and videos you took along the years.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701340910 {#4597
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@Quazatron@lemmy.world"
"@NeoNachtwaechter@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4594 …}
+nested: Doctrine\ORM\PersistentCollection {#4591 …}
+votes: Doctrine\ORM\PersistentCollection {#4589 …}
+reports: Doctrine\ORM\PersistentCollection {#4603 …}
+favourites: Doctrine\ORM\PersistentCollection {#4605 …}
+notifications: Doctrine\ORM\PersistentCollection {#4607 …}
-id: 180372
-bodyTs: "'along':67 'and/or':36 'backup':17,35,41 'done':26 'explain':53 'fact':30 'failur':13 'filesystem':12 'frequent':34 'gone':19 'keep':48 'last':16 'lost':59 'mirror':39 'mitig':28 'moment':9 'noth':22 'partner':56 'pictur':62 'simpl':45 'sure':1 'synchron':38 'system':40 'took':66 'video':64 'way':46 'work':4 'year':69"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5692621"
+editedAt: null
+createdAt: DateTimeImmutable @1701340910 {#4600
date: 2023-11-30 11:41:50.0 +01:00
}
} |
|
Show voter details
|
53 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
54 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4419
+user: Proxies\__CG__\App\Entity\User {#4423 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4249 …}
+root: App\Entity\EntryComment {#4249 …}
+body: """
This is why I love having luks covering my entire system disk. If I want to upgrade the system with a new drive or move the drive to a different pc or sell it or dispose of it I just dd the first couple of gigs to obliterate the luks header.\n
\n
It’s obviously essential to have a backup strategy, of course, but full disk encryption is the only way to go for me.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701298747 {#4418
date: 2023-11-29 23:59:07.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@skullgiver@popplesburger.hilciferous.nl"
]
+children: Doctrine\ORM\PersistentCollection {#4428 …}
+nested: Doctrine\ORM\PersistentCollection {#4424 …}
+votes: Doctrine\ORM\PersistentCollection {#4426 …}
+reports: Doctrine\ORM\PersistentCollection {#4431 …}
+favourites: Doctrine\ORM\PersistentCollection {#4433 …}
+notifications: Doctrine\ORM\PersistentCollection {#4435 …}
-id: 178805
-bodyTs: "'backup':59 'coupl':44 'cours':62 'cover':8 'dd':41 'differ':30 'disk':12,65 'dispos':36 'drive':23,27 'encrypt':66 'entir':10 'essenti':55 'first':43 'full':64 'gig':46 'go':72 'header':51 'love':5 'luk':7,50 'move':25 'new':22 'obliter':48 'obvious':54 'pc':31 'sell':33 'strategi':60 'system':11,19 'upgrad':17 'want':15 'way':70"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.uk/comment/4813179"
+editedAt: null
+createdAt: DateTimeImmutable @1701298747 {#4415
date: 2023-11-29 23:59:07.0 +01:00
}
} |
|
Show voter details
|
55 |
DENIED
|
edit
|
App\Entity\EntryComment {#4419
+user: Proxies\__CG__\App\Entity\User {#4423 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4249 …}
+root: App\Entity\EntryComment {#4249 …}
+body: """
This is why I love having luks covering my entire system disk. If I want to upgrade the system with a new drive or move the drive to a different pc or sell it or dispose of it I just dd the first couple of gigs to obliterate the luks header.\n
\n
It’s obviously essential to have a backup strategy, of course, but full disk encryption is the only way to go for me.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701298747 {#4418
date: 2023-11-29 23:59:07.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@skullgiver@popplesburger.hilciferous.nl"
]
+children: Doctrine\ORM\PersistentCollection {#4428 …}
+nested: Doctrine\ORM\PersistentCollection {#4424 …}
+votes: Doctrine\ORM\PersistentCollection {#4426 …}
+reports: Doctrine\ORM\PersistentCollection {#4431 …}
+favourites: Doctrine\ORM\PersistentCollection {#4433 …}
+notifications: Doctrine\ORM\PersistentCollection {#4435 …}
-id: 178805
-bodyTs: "'backup':59 'coupl':44 'cours':62 'cover':8 'dd':41 'differ':30 'disk':12,65 'dispos':36 'drive':23,27 'encrypt':66 'entir':10 'essenti':55 'first':43 'full':64 'gig':46 'go':72 'header':51 'love':5 'luk':7,50 'move':25 'new':22 'obliter':48 'obvious':54 'pc':31 'sell':33 'strategi':60 'system':11,19 'upgrad':17 'want':15 'way':70"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.uk/comment/4813179"
+editedAt: null
+createdAt: DateTimeImmutable @1701298747 {#4415
date: 2023-11-29 23:59:07.0 +01:00
}
} |
|
Show voter details
|
56 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4419
+user: Proxies\__CG__\App\Entity\User {#4423 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4249 …}
+root: App\Entity\EntryComment {#4249 …}
+body: """
This is why I love having luks covering my entire system disk. If I want to upgrade the system with a new drive or move the drive to a different pc or sell it or dispose of it I just dd the first couple of gigs to obliterate the luks header.\n
\n
It’s obviously essential to have a backup strategy, of course, but full disk encryption is the only way to go for me.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701298747 {#4418
date: 2023-11-29 23:59:07.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@skullgiver@popplesburger.hilciferous.nl"
]
+children: Doctrine\ORM\PersistentCollection {#4428 …}
+nested: Doctrine\ORM\PersistentCollection {#4424 …}
+votes: Doctrine\ORM\PersistentCollection {#4426 …}
+reports: Doctrine\ORM\PersistentCollection {#4431 …}
+favourites: Doctrine\ORM\PersistentCollection {#4433 …}
+notifications: Doctrine\ORM\PersistentCollection {#4435 …}
-id: 178805
-bodyTs: "'backup':59 'coupl':44 'cours':62 'cover':8 'dd':41 'differ':30 'disk':12,65 'dispos':36 'drive':23,27 'encrypt':66 'entir':10 'essenti':55 'first':43 'full':64 'gig':46 'go':72 'header':51 'love':5 'luk':7,50 'move':25 'new':22 'obliter':48 'obvious':54 'pc':31 'sell':33 'strategi':60 'system':11,19 'upgrad':17 'want':15 'way':70"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.uk/comment/4813179"
+editedAt: null
+createdAt: DateTimeImmutable @1701298747 {#4415
date: 2023-11-29 23:59:07.0 +01:00
}
} |
|
Show voter details
|
57 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
58 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4439
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4249 …}
+root: App\Entity\EntryComment {#4249 …}
+body: """
Great tips, thanks!\n
\n
I’m using ext4 across everything I think.\n
\n
Can you enable superblocks after you’ve already formatted the drive?\n
\n
Fdisk saves the offsets so keeping a record of that at least sounds like a good idea.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701290758 {#4437
date: 2023-11-29 21:45:58.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@skullgiver@popplesburger.hilciferous.nl"
]
+children: Doctrine\ORM\PersistentCollection {#4440 …}
+nested: Doctrine\ORM\PersistentCollection {#4442 …}
+votes: Doctrine\ORM\PersistentCollection {#4444 …}
+reports: Doctrine\ORM\PersistentCollection {#4446 …}
+favourites: Doctrine\ORM\PersistentCollection {#4448 …}
+notifications: Doctrine\ORM\PersistentCollection {#4450 …}
-id: 178188
-bodyTs: "'across':8 'alreadi':19 'drive':22 'enabl':14 'everyth':9 'ext4':7 'fdisk':23 'format':20 'good':38 'great':1 'idea':39 'keep':28 'least':34 'like':36 'm':5 'offset':26 'record':30 'save':24 'sound':35 'superblock':15 'thank':3 'think':11 'tip':2 'use':6 've':18"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4099538"
+editedAt: null
+createdAt: DateTimeImmutable @1701290758 {#4438
date: 2023-11-29 21:45:58.0 +01:00
}
} |
|
Show voter details
|
59 |
DENIED
|
edit
|
App\Entity\EntryComment {#4439
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4249 …}
+root: App\Entity\EntryComment {#4249 …}
+body: """
Great tips, thanks!\n
\n
I’m using ext4 across everything I think.\n
\n
Can you enable superblocks after you’ve already formatted the drive?\n
\n
Fdisk saves the offsets so keeping a record of that at least sounds like a good idea.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701290758 {#4437
date: 2023-11-29 21:45:58.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@skullgiver@popplesburger.hilciferous.nl"
]
+children: Doctrine\ORM\PersistentCollection {#4440 …}
+nested: Doctrine\ORM\PersistentCollection {#4442 …}
+votes: Doctrine\ORM\PersistentCollection {#4444 …}
+reports: Doctrine\ORM\PersistentCollection {#4446 …}
+favourites: Doctrine\ORM\PersistentCollection {#4448 …}
+notifications: Doctrine\ORM\PersistentCollection {#4450 …}
-id: 178188
-bodyTs: "'across':8 'alreadi':19 'drive':22 'enabl':14 'everyth':9 'ext4':7 'fdisk':23 'format':20 'good':38 'great':1 'idea':39 'keep':28 'least':34 'like':36 'm':5 'offset':26 'record':30 'save':24 'sound':35 'superblock':15 'thank':3 'think':11 'tip':2 'use':6 've':18"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4099538"
+editedAt: null
+createdAt: DateTimeImmutable @1701290758 {#4438
date: 2023-11-29 21:45:58.0 +01:00
}
} |
|
Show voter details
|
60 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4439
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4249 …}
+root: App\Entity\EntryComment {#4249 …}
+body: """
Great tips, thanks!\n
\n
I’m using ext4 across everything I think.\n
\n
Can you enable superblocks after you’ve already formatted the drive?\n
\n
Fdisk saves the offsets so keeping a record of that at least sounds like a good idea.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701290758 {#4437
date: 2023-11-29 21:45:58.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@skullgiver@popplesburger.hilciferous.nl"
]
+children: Doctrine\ORM\PersistentCollection {#4440 …}
+nested: Doctrine\ORM\PersistentCollection {#4442 …}
+votes: Doctrine\ORM\PersistentCollection {#4444 …}
+reports: Doctrine\ORM\PersistentCollection {#4446 …}
+favourites: Doctrine\ORM\PersistentCollection {#4448 …}
+notifications: Doctrine\ORM\PersistentCollection {#4450 …}
-id: 178188
-bodyTs: "'across':8 'alreadi':19 'drive':22 'enabl':14 'everyth':9 'ext4':7 'fdisk':23 'format':20 'good':38 'great':1 'idea':39 'keep':28 'least':34 'like':36 'm':5 'offset':26 'record':30 'save':24 'sound':35 'superblock':15 'thank':3 'think':11 'tip':2 'use':6 've':18"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4099538"
+editedAt: null
+createdAt: DateTimeImmutable @1701290758 {#4438
date: 2023-11-29 21:45:58.0 +01:00
}
} |
|
Show voter details
|
61 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
62 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4324
+user: App\Entity\User {#4337 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "Fantastic. I’m following!"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1701289796 {#4319
date: 2023-11-29 21:29:56.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4325 …}
+nested: Doctrine\ORM\PersistentCollection {#4327 …}
+votes: Doctrine\ORM\PersistentCollection {#4329 …}
+reports: Doctrine\ORM\PersistentCollection {#4331 …}
+favourites: Doctrine\ORM\PersistentCollection {#4333 …}
+notifications: Doctrine\ORM\PersistentCollection {#4335 …}
-id: 178116
-bodyTs: "'fantast':1 'follow':4 'm':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5678908"
+editedAt: null
+createdAt: DateTimeImmutable @1701289796 {#4320
date: 2023-11-29 21:29:56.0 +01:00
}
} |
|
Show voter details
|
63 |
DENIED
|
edit
|
App\Entity\EntryComment {#4324
+user: App\Entity\User {#4337 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "Fantastic. I’m following!"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1701289796 {#4319
date: 2023-11-29 21:29:56.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4325 …}
+nested: Doctrine\ORM\PersistentCollection {#4327 …}
+votes: Doctrine\ORM\PersistentCollection {#4329 …}
+reports: Doctrine\ORM\PersistentCollection {#4331 …}
+favourites: Doctrine\ORM\PersistentCollection {#4333 …}
+notifications: Doctrine\ORM\PersistentCollection {#4335 …}
-id: 178116
-bodyTs: "'fantast':1 'follow':4 'm':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5678908"
+editedAt: null
+createdAt: DateTimeImmutable @1701289796 {#4320
date: 2023-11-29 21:29:56.0 +01:00
}
} |
|
Show voter details
|
64 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4324
+user: App\Entity\User {#4337 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: "Fantastic. I’m following!"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1701289796 {#4319
date: 2023-11-29 21:29:56.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4325 …}
+nested: Doctrine\ORM\PersistentCollection {#4327 …}
+votes: Doctrine\ORM\PersistentCollection {#4329 …}
+reports: Doctrine\ORM\PersistentCollection {#4331 …}
+favourites: Doctrine\ORM\PersistentCollection {#4333 …}
+notifications: Doctrine\ORM\PersistentCollection {#4335 …}
-id: 178116
-bodyTs: "'fantast':1 'follow':4 'm':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5678908"
+editedAt: null
+createdAt: DateTimeImmutable @1701289796 {#4320
date: 2023-11-29 21:29:56.0 +01:00
}
} |
|
Show voter details
|
65 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
66 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4398
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
`The script takes the drives as arguments:`\n
\n
```\n
\n
<span style="color:#323232;">$ pwd\n
</span><span style="color:#323232;">/usr/lib/systemd/system\n
</span><span style="color:#323232;">$ cat drive_backup.service \n
</span><span style="color:#323232;">[Unit]\n
</span><span style="color:#323232;">Description=backup fdisk + e2image\n
</span><span style="color:#323232;">Wants=drive_backup.timer\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">[Service]\n
</span><span style="color:#323232;">Type=oneshot\n
</span><span style="color:#323232;">ExecStart=/usr/bin/backup_meta_data.sh /dev/sdc1 /dev/sdb1\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">[Install]\n
</span><span style="color:#323232;">WantedBy=multi-user.target\n
</span>\n
```\n
\n
`Set to run at 3:40am every day, but probably could be once weekly really.`\n
\n
```\n
\n
<span style="color:#323232;">$ cat drive_backup.timer \n
</span><span style="color:#323232;">[Unit]\n
</span><span style="color:#323232;">Description=timer to run drive backup\n
</span><span style="color:#323232;">Requires=drive_backup.service\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">[Timer]\n
</span><span style="color:#323232;">Unit=drive_backup.service\n
</span><span style="color:#323232;">OnCalendar=*-*-* 03:40:00\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">[Install]\n
</span><span style="color:#323232;">WantedBy=timers.target\n
</span>\n
```\n
\n
`Should be fairly self-explanatory. `\n
\n
```\n
\n
<span style="color:#323232;">$ cat /usr/bin/backup_meta_data.sh\n
</span><span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">working_dir=/home/st/drive_recovery/working\n
</span><span style="color:#323232;">backup_dir=/home/st/drive_recovery\n
</span><span style="color:#323232;">backup_date=$(date +%Y%m%d-%H%M)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">mkdir -p $working_dir\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">sudo fdisk -x > $working_dir/$backup_date.fdisk\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">for var in "$@"\n
</span><span style="color:#323232;">do\n
</span><span style="color:#323232;">\tclean=$(echo $var | sed 's;/;-;g')\n
</span><span style="color:#323232;">\tsudo e2image $var $working_dir/$backup_date.$clean\n
</span><span style="color:#323232;">done\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">sudo 7z a $backup_dir/$backup_date.archive $working_dir/"$backup_date"*\n
</span><span style="color:#323232;">sudo rm $working_dir/"$backup_date"*\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1701288876 {#4392
date: 2023-11-29 21:14:36.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4399 …}
+nested: Doctrine\ORM\PersistentCollection {#4401 …}
+votes: Doctrine\ORM\PersistentCollection {#4403 …}
+reports: Doctrine\ORM\PersistentCollection {#4405 …}
+favourites: Doctrine\ORM\PersistentCollection {#4407 …}
+notifications: Doctrine\ORM\PersistentCollection {#4409 …}
-id: 178058
-bodyTs: "'/bin/bash':73 '/dev/sdb1':25 '/dev/sdc1':24 '/home/st/drive_recovery':79 '/home/st/drive_recovery/working':76 '/usr/bin/backup_meta_data.sh':23,72 '/usr/lib/systemd/system':9 '00':61 '03':59 '3':33 '40':60 '40am':34 '7z':118 'argument':7 'backup':14,52,77,80,113,120,125,131 'backup_date.archive':122 'backup_date.fdisk':97 'cat':10,44,71 'clean':102,115 'could':39 'd':85 'date':81,82,114,126,132 'day':36 'descript':13,47 'dir':75,78,91,96,112,121,124,130 'done':116 'drive':5,51 'drive_backup.service':11,54,57 'drive_backup.timer':18,45 'e2image':16,109 'echo':103 'everi':35 'execstart':22 'explanatori':70 'fair':67 'fdisk':15,93 'g':107 'h':86 'instal':26,62 'm':84,87 'mkdir':88 'multi-user.target':28 'oncalendar':58 'oneshot':21 'p':89 'probabl':38 'pwd':8 'realli':43 'requir':53 'rm':128 'run':31,50 'script':2 'sed':105 'self':69 'self-explanatori':68 'servic':19 'set':29 'sudo':92,108,117,127 'take':3 'timer':48,55 'timers.target':64 'type':20 'unit':12,46,56 'var':99,104,110 'want':17 'wantedbi':27,63 'week':42 'work':74,90,95,111,123,129 'x':94 'y':83"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4098853"
+editedAt: DateTimeImmutable @1702210211 {#4393
date: 2023-12-10 13:10:11.0 +01:00
}
+createdAt: DateTimeImmutable @1701288876 {#4394
date: 2023-11-29 21:14:36.0 +01:00
}
} |
|
Show voter details
|
67 |
DENIED
|
edit
|
App\Entity\EntryComment {#4398
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
`The script takes the drives as arguments:`\n
\n
```\n
\n
<span style="color:#323232;">$ pwd\n
</span><span style="color:#323232;">/usr/lib/systemd/system\n
</span><span style="color:#323232;">$ cat drive_backup.service \n
</span><span style="color:#323232;">[Unit]\n
</span><span style="color:#323232;">Description=backup fdisk + e2image\n
</span><span style="color:#323232;">Wants=drive_backup.timer\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">[Service]\n
</span><span style="color:#323232;">Type=oneshot\n
</span><span style="color:#323232;">ExecStart=/usr/bin/backup_meta_data.sh /dev/sdc1 /dev/sdb1\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">[Install]\n
</span><span style="color:#323232;">WantedBy=multi-user.target\n
</span>\n
```\n
\n
`Set to run at 3:40am every day, but probably could be once weekly really.`\n
\n
```\n
\n
<span style="color:#323232;">$ cat drive_backup.timer \n
</span><span style="color:#323232;">[Unit]\n
</span><span style="color:#323232;">Description=timer to run drive backup\n
</span><span style="color:#323232;">Requires=drive_backup.service\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">[Timer]\n
</span><span style="color:#323232;">Unit=drive_backup.service\n
</span><span style="color:#323232;">OnCalendar=*-*-* 03:40:00\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">[Install]\n
</span><span style="color:#323232;">WantedBy=timers.target\n
</span>\n
```\n
\n
`Should be fairly self-explanatory. `\n
\n
```\n
\n
<span style="color:#323232;">$ cat /usr/bin/backup_meta_data.sh\n
</span><span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">working_dir=/home/st/drive_recovery/working\n
</span><span style="color:#323232;">backup_dir=/home/st/drive_recovery\n
</span><span style="color:#323232;">backup_date=$(date +%Y%m%d-%H%M)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">mkdir -p $working_dir\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">sudo fdisk -x > $working_dir/$backup_date.fdisk\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">for var in "$@"\n
</span><span style="color:#323232;">do\n
</span><span style="color:#323232;">\tclean=$(echo $var | sed 's;/;-;g')\n
</span><span style="color:#323232;">\tsudo e2image $var $working_dir/$backup_date.$clean\n
</span><span style="color:#323232;">done\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">sudo 7z a $backup_dir/$backup_date.archive $working_dir/"$backup_date"*\n
</span><span style="color:#323232;">sudo rm $working_dir/"$backup_date"*\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1701288876 {#4392
date: 2023-11-29 21:14:36.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4399 …}
+nested: Doctrine\ORM\PersistentCollection {#4401 …}
+votes: Doctrine\ORM\PersistentCollection {#4403 …}
+reports: Doctrine\ORM\PersistentCollection {#4405 …}
+favourites: Doctrine\ORM\PersistentCollection {#4407 …}
+notifications: Doctrine\ORM\PersistentCollection {#4409 …}
-id: 178058
-bodyTs: "'/bin/bash':73 '/dev/sdb1':25 '/dev/sdc1':24 '/home/st/drive_recovery':79 '/home/st/drive_recovery/working':76 '/usr/bin/backup_meta_data.sh':23,72 '/usr/lib/systemd/system':9 '00':61 '03':59 '3':33 '40':60 '40am':34 '7z':118 'argument':7 'backup':14,52,77,80,113,120,125,131 'backup_date.archive':122 'backup_date.fdisk':97 'cat':10,44,71 'clean':102,115 'could':39 'd':85 'date':81,82,114,126,132 'day':36 'descript':13,47 'dir':75,78,91,96,112,121,124,130 'done':116 'drive':5,51 'drive_backup.service':11,54,57 'drive_backup.timer':18,45 'e2image':16,109 'echo':103 'everi':35 'execstart':22 'explanatori':70 'fair':67 'fdisk':15,93 'g':107 'h':86 'instal':26,62 'm':84,87 'mkdir':88 'multi-user.target':28 'oncalendar':58 'oneshot':21 'p':89 'probabl':38 'pwd':8 'realli':43 'requir':53 'rm':128 'run':31,50 'script':2 'sed':105 'self':69 'self-explanatori':68 'servic':19 'set':29 'sudo':92,108,117,127 'take':3 'timer':48,55 'timers.target':64 'type':20 'unit':12,46,56 'var':99,104,110 'want':17 'wantedbi':27,63 'week':42 'work':74,90,95,111,123,129 'x':94 'y':83"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4098853"
+editedAt: DateTimeImmutable @1702210211 {#4393
date: 2023-12-10 13:10:11.0 +01:00
}
+createdAt: DateTimeImmutable @1701288876 {#4394
date: 2023-11-29 21:14:36.0 +01:00
}
} |
|
Show voter details
|
68 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4398
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+entry: App\Entity\Entry {#2413
+user: Proxies\__CG__\App\Entity\User {#1973 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
+slug: "Automatic-backups-of-inode-tables-and-partition-info-for-easier"
+title: "Automatic backups of inode tables and partition info for easier data recovery"
+url: null
+body: """
Good morning all, in today’s episode of “What I learned during work hours”…\n
\n
I was playing around with wxHexEditor and realised that if something catastrophic happened, I would really struggle with any data recovery if I lost the inode tables for any drive.\n
\n
A quick duckle pointed me to e2image, which says in the man:\n
\n
> It is a very good idea to create image files for all file systems on a system and save the partition layout (which can be generated using the fdisk -l command) at regular intervals — at boot time, and/or every week or so.\n
\n
I couldn’t find any prebuilt solutions for this online, so I wrote a systemd service and timer to do this for me. I save the fdisk to a text file, run e2image on a couple drives, and compress it all together in a dated 7z that can get uploaded via rsync or Mega or Dropbox etc.\n
\n
The metadata image from a 500gb drive is 8gb, but compresses down to 40mb. Backup takes a couple minutes.\n
\n
Unfortunately this does *not* work with my raid drives, but they are RAID1 so already resilient.\n
\n
Apparently I was being a derp somehow. …Anyways,\n
\n
My RAID drives are 16TB, e2image of this is 125gb, and 7z’d it comes down to just 63mb.\n
\n
I’ll post the service, timer, and backup script in a comment, let me know if you can spot anywhere for improvements!
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 16
+favouriteCount: 25
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701340910 {#2418
date: 2023-11-30 11:41:50.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1408 …}
+votes: Doctrine\ORM\PersistentCollection {#1961 …}
+reports: Doctrine\ORM\PersistentCollection {#1972 …}
+favourites: Doctrine\ORM\PersistentCollection {#1399 …}
+notifications: Doctrine\ORM\PersistentCollection {#2440 …}
+badges: Doctrine\ORM\PersistentCollection {#2436 …}
+children: []
-id: 18292
-titleTs: "'automat':1 'backup':2 'data':11 'easier':10 'info':8 'inod':4 'partit':7 'recoveri':12 'tabl':5"
-bodyTs: "'125gb':208 '16tb':203 '40mb':169 '500gb':161 '63mb':217 '7z':144,210 '8gb':164 'alreadi':189 'and/or':94 'anyway':198 'anywher':237 'appar':191 'around':18 'backup':170,225 'boot':92 'catastroph':26 'come':213 'command':87 'comment':229 'compress':137,166 'couldn':100 'coupl':134,173 'creat':64 'd':211 'data':34 'date':143 'derp':196 'drive':44,135,162,183,201 'dropbox':154 'duckl':47 'e2image':51,131,204 'episod':7 'etc':155 'everi':95 'fdisk':85,125 'file':66,69,129 'find':102 'generat':82 'get':147 'good':1,61 'happen':27 'hour':14 'idea':62 'imag':65,158 'improv':239 'inod':40 'interv':90 'know':232 'l':86 'layout':78 'learn':11 'let':230 'll':219 'lost':38 'man':56 'mega':152 'metadata':157 'minut':174 'morn':2 'onlin':108 'partit':77 'play':17 'point':48 'post':220 'prebuilt':104 'quick':46 'raid':182,200 'raid1':187 'realis':22 'realli':30 'recoveri':35 'regular':89 'resili':190 'rsync':150 'run':130 'save':75,123 'say':53 'script':226 'servic':114,222 'solut':105 'somehow':197 'someth':25 'spot':236 'struggl':31 'system':70,73 'systemd':113 'tabl':41 'take':171 'text':128 'time':93 'timer':116,223 'today':5 'togeth':140 'unfortun':175 'upload':148 'use':83 'via':149 'week':96 'work':13,179 'would':29 'wrote':111 'wxhexeditor':20"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701374984
+visibility: "visible "
+apId: "https://lemmy.nz/post/3898548"
+editedAt: DateTimeImmutable @1702307273 {#1858
date: 2023-12-11 16:07:53.0 +01:00
}
+createdAt: DateTimeImmutable @1701288584 {#2388
date: 2023-11-29 21:09:44.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
`The script takes the drives as arguments:`\n
\n
```\n
\n
<span style="color:#323232;">$ pwd\n
</span><span style="color:#323232;">/usr/lib/systemd/system\n
</span><span style="color:#323232;">$ cat drive_backup.service \n
</span><span style="color:#323232;">[Unit]\n
</span><span style="color:#323232;">Description=backup fdisk + e2image\n
</span><span style="color:#323232;">Wants=drive_backup.timer\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">[Service]\n
</span><span style="color:#323232;">Type=oneshot\n
</span><span style="color:#323232;">ExecStart=/usr/bin/backup_meta_data.sh /dev/sdc1 /dev/sdb1\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">[Install]\n
</span><span style="color:#323232;">WantedBy=multi-user.target\n
</span>\n
```\n
\n
`Set to run at 3:40am every day, but probably could be once weekly really.`\n
\n
```\n
\n
<span style="color:#323232;">$ cat drive_backup.timer \n
</span><span style="color:#323232;">[Unit]\n
</span><span style="color:#323232;">Description=timer to run drive backup\n
</span><span style="color:#323232;">Requires=drive_backup.service\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">[Timer]\n
</span><span style="color:#323232;">Unit=drive_backup.service\n
</span><span style="color:#323232;">OnCalendar=*-*-* 03:40:00\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">[Install]\n
</span><span style="color:#323232;">WantedBy=timers.target\n
</span>\n
```\n
\n
`Should be fairly self-explanatory. `\n
\n
```\n
\n
<span style="color:#323232;">$ cat /usr/bin/backup_meta_data.sh\n
</span><span style="color:#323232;">#!/bin/bash\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">working_dir=/home/st/drive_recovery/working\n
</span><span style="color:#323232;">backup_dir=/home/st/drive_recovery\n
</span><span style="color:#323232;">backup_date=$(date +%Y%m%d-%H%M)\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">mkdir -p $working_dir\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">sudo fdisk -x > $working_dir/$backup_date.fdisk\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">for var in "$@"\n
</span><span style="color:#323232;">do\n
</span><span style="color:#323232;">\tclean=$(echo $var | sed 's;/;-;g')\n
</span><span style="color:#323232;">\tsudo e2image $var $working_dir/$backup_date.$clean\n
</span><span style="color:#323232;">done\n
</span><span style="color:#323232;">\n
</span><span style="color:#323232;">sudo 7z a $backup_dir/$backup_date.archive $working_dir/"$backup_date"*\n
</span><span style="color:#323232;">sudo rm $working_dir/"$backup_date"*\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1701288876 {#4392
date: 2023-11-29 21:14:36.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4399 …}
+nested: Doctrine\ORM\PersistentCollection {#4401 …}
+votes: Doctrine\ORM\PersistentCollection {#4403 …}
+reports: Doctrine\ORM\PersistentCollection {#4405 …}
+favourites: Doctrine\ORM\PersistentCollection {#4407 …}
+notifications: Doctrine\ORM\PersistentCollection {#4409 …}
-id: 178058
-bodyTs: "'/bin/bash':73 '/dev/sdb1':25 '/dev/sdc1':24 '/home/st/drive_recovery':79 '/home/st/drive_recovery/working':76 '/usr/bin/backup_meta_data.sh':23,72 '/usr/lib/systemd/system':9 '00':61 '03':59 '3':33 '40':60 '40am':34 '7z':118 'argument':7 'backup':14,52,77,80,113,120,125,131 'backup_date.archive':122 'backup_date.fdisk':97 'cat':10,44,71 'clean':102,115 'could':39 'd':85 'date':81,82,114,126,132 'day':36 'descript':13,47 'dir':75,78,91,96,112,121,124,130 'done':116 'drive':5,51 'drive_backup.service':11,54,57 'drive_backup.timer':18,45 'e2image':16,109 'echo':103 'everi':35 'execstart':22 'explanatori':70 'fair':67 'fdisk':15,93 'g':107 'h':86 'instal':26,62 'm':84,87 'mkdir':88 'multi-user.target':28 'oncalendar':58 'oneshot':21 'p':89 'probabl':38 'pwd':8 'realli':43 'requir':53 'rm':128 'run':31,50 'script':2 'sed':105 'self':69 'self-explanatori':68 'servic':19 'set':29 'sudo':92,108,117,127 'take':3 'timer':48,55 'timers.target':64 'type':20 'unit':12,46,56 'var':99,104,110 'want':17 'wantedbi':27,63 'week':42 'work':74,90,95,111,123,129 'x':94 'y':83"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4098853"
+editedAt: DateTimeImmutable @1702210211 {#4393
date: 2023-12-10 13:10:11.0 +01:00
}
+createdAt: DateTimeImmutable @1701288876 {#4394
date: 2023-11-29 21:14:36.0 +01:00
}
} |
|
Show voter details
|
69 |
DENIED
|
edit
|
App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
} |
|
Show voter details
|