1 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
2 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1378
+user: Proxies\__CG__\App\Entity\User {#1867 …}
+entry: App\Entity\Entry {#1849 …}
+magazine: App\Entity\Magazine {#312
+icon: Proxies\__CG__\App\Entity\Image {#293 …}
+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 {#320
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#284 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
+entries: Doctrine\ORM\PersistentCollection {#227 …}
+posts: Doctrine\ORM\PersistentCollection {#185 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
+bans: Doctrine\ORM\PersistentCollection {#164 …}
+reports: Doctrine\ORM\PersistentCollection {#150 …}
+badges: Doctrine\ORM\PersistentCollection {#128 …}
+logs: Doctrine\ORM\PersistentCollection {#118 …}
+awards: Doctrine\ORM\PersistentCollection {#107 …}
+categories: Doctrine\ORM\PersistentCollection {#94 …}
-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 {#321
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#315
date: 2023-11-02 13:51:08.0 +01:00
}
}
+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 {#1769
date: 2023-11-29 21:14:36.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#1371 …}
+nested: Doctrine\ORM\PersistentCollection {#1379 …}
+votes: Doctrine\ORM\PersistentCollection {#2446 …}
+reports: Doctrine\ORM\PersistentCollection {#1891 …}
+favourites: Doctrine\ORM\PersistentCollection {#2409 …}
+notifications: Doctrine\ORM\PersistentCollection {#2358 …}
-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 {#1969
date: 2023-12-10 13:10:11.0 +01:00
}
+createdAt: DateTimeImmutable @1701288876 {#1399
date: 2023-11-29 21:14:36.0 +01:00
}
} |
|
Show voter details
|
3 |
DENIED
|
edit
|
App\Entity\EntryComment {#1378
+user: Proxies\__CG__\App\Entity\User {#1867 …}
+entry: App\Entity\Entry {#1849 …}
+magazine: App\Entity\Magazine {#312
+icon: Proxies\__CG__\App\Entity\Image {#293 …}
+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 {#320
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#284 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
+entries: Doctrine\ORM\PersistentCollection {#227 …}
+posts: Doctrine\ORM\PersistentCollection {#185 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
+bans: Doctrine\ORM\PersistentCollection {#164 …}
+reports: Doctrine\ORM\PersistentCollection {#150 …}
+badges: Doctrine\ORM\PersistentCollection {#128 …}
+logs: Doctrine\ORM\PersistentCollection {#118 …}
+awards: Doctrine\ORM\PersistentCollection {#107 …}
+categories: Doctrine\ORM\PersistentCollection {#94 …}
-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 {#321
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#315
date: 2023-11-02 13:51:08.0 +01:00
}
}
+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 {#1769
date: 2023-11-29 21:14:36.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#1371 …}
+nested: Doctrine\ORM\PersistentCollection {#1379 …}
+votes: Doctrine\ORM\PersistentCollection {#2446 …}
+reports: Doctrine\ORM\PersistentCollection {#1891 …}
+favourites: Doctrine\ORM\PersistentCollection {#2409 …}
+notifications: Doctrine\ORM\PersistentCollection {#2358 …}
-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 {#1969
date: 2023-12-10 13:10:11.0 +01:00
}
+createdAt: DateTimeImmutable @1701288876 {#1399
date: 2023-11-29 21:14:36.0 +01:00
}
} |
|
Show voter details
|
4 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1378
+user: Proxies\__CG__\App\Entity\User {#1867 …}
+entry: App\Entity\Entry {#1849 …}
+magazine: App\Entity\Magazine {#312
+icon: Proxies\__CG__\App\Entity\Image {#293 …}
+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 {#320
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#284 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
+entries: Doctrine\ORM\PersistentCollection {#227 …}
+posts: Doctrine\ORM\PersistentCollection {#185 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
+bans: Doctrine\ORM\PersistentCollection {#164 …}
+reports: Doctrine\ORM\PersistentCollection {#150 …}
+badges: Doctrine\ORM\PersistentCollection {#128 …}
+logs: Doctrine\ORM\PersistentCollection {#118 …}
+awards: Doctrine\ORM\PersistentCollection {#107 …}
+categories: Doctrine\ORM\PersistentCollection {#94 …}
-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 {#321
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#315
date: 2023-11-02 13:51:08.0 +01:00
}
}
+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 {#1769
date: 2023-11-29 21:14:36.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#1371 …}
+nested: Doctrine\ORM\PersistentCollection {#1379 …}
+votes: Doctrine\ORM\PersistentCollection {#2446 …}
+reports: Doctrine\ORM\PersistentCollection {#1891 …}
+favourites: Doctrine\ORM\PersistentCollection {#2409 …}
+notifications: Doctrine\ORM\PersistentCollection {#2358 …}
-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 {#1969
date: 2023-12-10 13:10:11.0 +01:00
}
+createdAt: DateTimeImmutable @1701288876 {#1399
date: 2023-11-29 21:14:36.0 +01:00
}
} |
|
Show voter details
|
5 |
DENIED
|
edit
|
App\Entity\Magazine {#312
+icon: Proxies\__CG__\App\Entity\Image {#293 …}
+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 {#320
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#284 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
+entries: Doctrine\ORM\PersistentCollection {#227 …}
+posts: Doctrine\ORM\PersistentCollection {#185 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
+bans: Doctrine\ORM\PersistentCollection {#164 …}
+reports: Doctrine\ORM\PersistentCollection {#150 …}
+badges: Doctrine\ORM\PersistentCollection {#128 …}
+logs: Doctrine\ORM\PersistentCollection {#118 …}
+awards: Doctrine\ORM\PersistentCollection {#107 …}
+categories: Doctrine\ORM\PersistentCollection {#94 …}
-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 {#321
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#315
date: 2023-11-02 13:51:08.0 +01:00
}
} |
|
Show voter details
|