Redirect 302 redirect from GET @entry_comment_create (c917b2)

Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
0.82 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.04 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#1810
  +user: Proxies\__CG__\App\Entity\User {#1911 …}
  +magazine: App\Entity\Magazine {#315
    +icon: Proxies\__CG__\App\Entity\Image {#296 …}
    +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 {#323
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#287 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#283 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#272 …}
    +entries: Doctrine\ORM\PersistentCollection {#230 …}
    +posts: Doctrine\ORM\PersistentCollection {#188 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#250 …}
    +bans: Doctrine\ORM\PersistentCollection {#167 …}
    +reports: Doctrine\ORM\PersistentCollection {#153 …}
    +badges: Doctrine\ORM\PersistentCollection {#131 …}
    +logs: Doctrine\ORM\PersistentCollection {#121 …}
    +awards: Doctrine\ORM\PersistentCollection {#110 …}
    +categories: Doctrine\ORM\PersistentCollection {#97 …}
    -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 {#324
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#318
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#2441 …}
  +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 {#2435
    date: 2023-11-30 11:41:50.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#2419 …}
  +votes: Doctrine\ORM\PersistentCollection {#1882 …}
  +reports: Doctrine\ORM\PersistentCollection {#1853 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1958 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1935 …}
  +badges: Doctrine\ORM\PersistentCollection {#1392 …}
  +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 {#101
    date: 2023-12-11 16:07:53.0 +01:00
  }
  +createdAt: DateTimeImmutable @1701288584 {#2404
    date: 2023-11-29 21:09:44.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#1810
  +user: Proxies\__CG__\App\Entity\User {#1911 …}
  +magazine: App\Entity\Magazine {#315
    +icon: Proxies\__CG__\App\Entity\Image {#296 …}
    +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 {#323
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#287 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#283 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#272 …}
    +entries: Doctrine\ORM\PersistentCollection {#230 …}
    +posts: Doctrine\ORM\PersistentCollection {#188 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#250 …}
    +bans: Doctrine\ORM\PersistentCollection {#167 …}
    +reports: Doctrine\ORM\PersistentCollection {#153 …}
    +badges: Doctrine\ORM\PersistentCollection {#131 …}
    +logs: Doctrine\ORM\PersistentCollection {#121 …}
    +awards: Doctrine\ORM\PersistentCollection {#110 …}
    +categories: Doctrine\ORM\PersistentCollection {#97 …}
    -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 {#324
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#318
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#2441 …}
  +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 {#2435
    date: 2023-11-30 11:41:50.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#2419 …}
  +votes: Doctrine\ORM\PersistentCollection {#1882 …}
  +reports: Doctrine\ORM\PersistentCollection {#1853 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1958 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1935 …}
  +badges: Doctrine\ORM\PersistentCollection {#1392 …}
  +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 {#101
    date: 2023-12-11 16:07:53.0 +01:00
  }
  +createdAt: DateTimeImmutable @1701288584 {#2404
    date: 2023-11-29 21:09:44.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#1810
  +user: Proxies\__CG__\App\Entity\User {#1911 …}
  +magazine: App\Entity\Magazine {#315
    +icon: Proxies\__CG__\App\Entity\Image {#296 …}
    +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 {#323
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#287 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#283 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#272 …}
    +entries: Doctrine\ORM\PersistentCollection {#230 …}
    +posts: Doctrine\ORM\PersistentCollection {#188 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#250 …}
    +bans: Doctrine\ORM\PersistentCollection {#167 …}
    +reports: Doctrine\ORM\PersistentCollection {#153 …}
    +badges: Doctrine\ORM\PersistentCollection {#131 …}
    +logs: Doctrine\ORM\PersistentCollection {#121 …}
    +awards: Doctrine\ORM\PersistentCollection {#110 …}
    +categories: Doctrine\ORM\PersistentCollection {#97 …}
    -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 {#324
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#318
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#2441 …}
  +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 {#2435
    date: 2023-11-30 11:41:50.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#2419 …}
  +votes: Doctrine\ORM\PersistentCollection {#1882 …}
  +reports: Doctrine\ORM\PersistentCollection {#1853 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1958 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1935 …}
  +badges: Doctrine\ORM\PersistentCollection {#1392 …}
  +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 {#101
    date: 2023-12-11 16:07:53.0 +01:00
  }
  +createdAt: DateTimeImmutable @1701288584 {#2404
    date: 2023-11-29 21:09:44.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED edit
App\Entity\Magazine {#315
  +icon: Proxies\__CG__\App\Entity\Image {#296 …}
  +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 {#323
    date: 2024-10-22 09:52:22.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#287 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#283 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#272 …}
  +entries: Doctrine\ORM\PersistentCollection {#230 …}
  +posts: Doctrine\ORM\PersistentCollection {#188 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#250 …}
  +bans: Doctrine\ORM\PersistentCollection {#167 …}
  +reports: Doctrine\ORM\PersistentCollection {#153 …}
  +badges: Doctrine\ORM\PersistentCollection {#131 …}
  +logs: Doctrine\ORM\PersistentCollection {#121 …}
  +awards: Doctrine\ORM\PersistentCollection {#110 …}
  +categories: Doctrine\ORM\PersistentCollection {#97 …}
  -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 {#324
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#318
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details