gpstarman

joined 2 months ago
[–] [email protected] 4 points 1 day ago

is he a famous boxer or something?

[–] [email protected] 34 points 1 day ago (4 children)

What's the box thing?

[–] [email protected] 1 points 1 day ago

Thank you.

I'm still learning how BTRFS works. I stopped using rsync because I don't have lots of storage. I also think btrfs is easier on disk read and write operations.

[–] [email protected] 1 points 2 days ago

Yeah, that's what I'm thinking too.

17
submitted 2 days ago* (last edited 2 days ago) by [email protected] to c/linux4noobs
 

Can I change the location of BTRFS snapshots. I installed CachyOS, and it automatically setup BTRFS subvols.

This is the layout 👇

ID gen parent top level path
258 1773 5 5 @root
259 1601 5 5 @srv
260 1789 5 5 @cache
261 1785 5 5 @tmp
262 1797 5 5 @log
263 26 377 377 var/lib/portables
264 26 377 377 var/lib/machines
265 1791 377 377 .snapshots
266 1427 378 378 @home/.snapshots
377 1797 5 5 @
378 1797 5 5 @home

According to Arch wiki https://wiki.archlinux.org/title/Snapper#Creating_a_new_configuration

Create a subvolume at /path/to/subvolume/.snapshots where future snapshots for this configuration will be stored. A snapshot's path is /path/to/subvolume/.snapshots/#/snapshot, where # is the snapshot number.

From which I understand that if I created a snap of /home (@home), it will save in /home/.snapshots (@home/.snapshots).

So, CachyOS configured to save snaps to separate subvol.

But, what I want to do is, Instead of just saving it in separate subvol, i want snaps to be saved on different btrfs partition. Maybe @home/.snapshots but on different partition.

Is that possible ?

7
submitted 2 days ago* (last edited 2 days ago) by [email protected] to c/[email protected]
 

Can I change the location of BTRFS snapshots. I installed CachyOS, and it automatically setup BTRFS subvols.

This is the layout 👇

ID gen parent top level path
258 1773 5 5 @root
259 1601 5 5 @srv
260 1789 5 5 @cache
261 1785 5 5 @tmp
262 1797 5 5 @log
263 26 377 377 var/lib/portables
264 26 377 377 var/lib/machines
265 1791 377 377 .snapshots
266 1427 378 378 @home/.snapshots
377 1797 5 5 @
378 1797 5 5 @home

According to Arch wiki https://wiki.archlinux.org/title/Snapper#Creating_a_new_configuration

Create a subvolume at /path/to/subvolume/.snapshots where future snapshots for this configuration will be stored. A snapshot's path is /path/to/subvolume/.snapshots/#/snapshot, where # is the snapshot number.

From which I understand that if I created a snap of /home (@home), it will save in /home/.snapshots (@home/.snapshots).

So, CachyOS configured to save snaps to separate subvol.

But, what I want to do is, Instead of just saving it in separate subvol, i want snaps to be saved on different btrfs partition. Maybe @home/.snapshots but on different partition.

Is that possible ?

6
submitted 2 days ago* (last edited 2 days ago) by [email protected] to c/[email protected]
 

Can I change the location of BTRFS snapshots. I installed CachyOS, and it automatically setup BTRFS subvols.

This is the layout 👇

ID gen parent top level path
258 1773 5 5 @root
259 1601 5 5 @srv
260 1789 5 5 @cache
261 1785 5 5 @tmp
262 1797 5 5 @log
263 26 377 377 var/lib/portables
264 26 377 377 var/lib/machines
265 1791 377 377 .snapshots
266 1427 378 378 @home/.snapshots
377 1797 5 5 @
378 1797 5 5 @home

According to Arch wiki https://wiki.archlinux.org/title/Snapper#Creating_a_new_configuration

Create a subvolume at /path/to/subvolume/.snapshots where future snapshots for this configuration will be stored. A snapshot's path is /path/to/subvolume/.snapshots/#/snapshot, where # is the snapshot number.

From which I understand that if I created a snap of /home (@home), it will save in /home/.snapshots (@home/.snapshots).

So, CachyOS configured to save snaps to separate subvol.

But, what I want to do is, Instead of just saving it in separate subvol, i want snaps to be saved on different btrfs partition. Maybe @home/.snapshots but on different partition.

Is that possible ?

[–] [email protected] 5 points 2 weeks ago
[–] [email protected] 2 points 2 weeks ago

im a bit paranoid and don’t wanna use non-official flatpaks

Makes sense, especially for something as important as VPN.

Thank you.

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago)

I mean it's never mentioned anywhere that they are multiple options. It's just say 1.1, 1.2 & 1.3, so I got confused. Maybe it's because I'm new to Arch.

[–] [email protected] 3 points 2 weeks ago (2 children)
[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

I guess by doing this way we can't tell which server has less load just by looking it, right?

9
submitted 2 weeks ago* (last edited 6 days ago) by [email protected] to c/[email protected]
 

How to install ProtonVPN in Arch Linux (CachyOS) ?

Should I follow https://wiki.archlinux.org/title/ProtonVPN ?

OR

from flathub https://flathub.org/apps/com.protonvpn.www ?

This flatpak has Unverified tag, but according to this, this flatpak is safe.

Which one should I follow ?

Asking this because I'm because I'm a bit lazy to configure OpenVPN and all that stuff. (pls don't kill me :)

Also do you think using VPN from flatpak is a good idea?



Solved

I just installed aur mentioned in the wiki and it worked just fine. Didn't need to install anything else in my case.1.

4
submitted 2 weeks ago* (last edited 6 days ago) by [email protected] to c/linux4noobs
 

How to install ProtonVPN in Arch Linux (CachyOS) ?

Should I follow https://wiki.archlinux.org/title/ProtonVPN ?

OR

from flathub https://flathub.org/apps/com.protonvpn.www ?

This flatpak has Unverified tag, but according to this, this flatpak is safe.

Which one should I follow ?

Asking this because I'm because I'm a bit lazy to configure OpenVPN and all that stuff. (pls don't kill me :)

Also do you think using VPN from flatpak is a good idea?



Solved

I just installed aur mentioned in the wiki and it worked just fine. Didn't need to install anything else in my case.

14
submitted 2 weeks ago* (last edited 6 days ago) by [email protected] to c/[email protected]
 

How to install ProtonVPN in Arch Linux (CachyOS) ?

Should I follow https://wiki.archlinux.org/title/ProtonVPN ?

OR

from flathub https://flathub.org/apps/com.protonvpn.www ?

This flatpak has Unverified tag, but according to this, this flatpak is safe.

Which one should I follow ?

Asking this because I'm because I'm a bit lazy to configure OpenVPN and all that stuff. (pls don't kill me :)

Also do you think using VPN from flatpak is a good idea?

 

I want to copy (not move) my Timeshift Snapshots (Rsync) from my existing drive to another drive. Both drives are ext4. As far as I searched I am not able to find any viable results.

If not possible, just why?



Solved

https://www.cyberciti.biz/faq/linux-unix-apple-osx-bsd-rsync-copy-hard-links/

TLDR

sudo rsync -az -H --delete --numeric-ids /path/to/timeshift path/to/destination/

Where,

-a : Archive mode (i.e. recurse into directories, and preserve symlinks, file permissions, file modification times, file group, file owner, device files & special files)

-z : Compress file data during the transfer

H : Preserve hard links (i.e. copy hard links as hard links)

--delete : Delete extraneous files from the receiving side (ones that aren't on the sending side), but only for the directories that are being synchronized i.e. keep exact replica of your /path/to/timeshift directory.

--numeric-ids : Transfer numeric group and user IDs rather than using user and group names and mapping them at both ends.

--progress : Show progress during transfer.

--log-file="/var/log/my-rsync-script.log" : Log what rsync command is doing to the /var/log/my-rsync-script.log file.


Thanks to @[email protected]

Original Comment: https://lemmy.world/comment/11611743

 

I want to copy (not move) my Timeshift Snapshots (Rsync) from my existing drive to another drive. Both drives are ext4. As far as I searched I am not able to find any viable results.

If not possible, just why?



Solved

https://www.cyberciti.biz/faq/linux-unix-apple-osx-bsd-rsync-copy-hard-links/

TLDR

sudo rsync -az -H --delete --numeric-ids /path/to/timeshift path/to/destination/

Where,

-a : Archive mode (i.e. recurse into directories, and preserve symlinks, file permissions, file modification times, file group, file owner, device files & special files)

-z : Compress file data during the transfer

H : Preserve hard links (i.e. copy hard links as hard links)

--delete : Delete extraneous files from the receiving side (ones that aren't on the sending side), but only for the directories that are being synchronized i.e. keep exact replica of your /path/to/timeshift directory.

--numeric-ids : Transfer numeric group and user IDs rather than using user and group names and mapping them at both ends.

--progress : Show progress during transfer.

--log-file="/var/log/my-rsync-script.log" : Log what rsync command is doing to the /var/log/my-rsync-script.log file.


Thanks to @[email protected]

Original Comment: https://lemmy.world/comment/11611743

 

I want to copy (not move) my Timeshift Snapshots (Rsync) from my existing drive to another drive. Both drives are ext4. As far as I searched I am not able to find any viable results.

If not possible, just why?



Solved

https://www.cyberciti.biz/faq/linux-unix-apple-osx-bsd-rsync-copy-hard-links/

TLDR

sudo rsync -az -H --delete --numeric-ids /path/to/timeshift path/to/destination/

Where,

-a : Archive mode (i.e. recurse into directories, and preserve symlinks, file permissions, file modification times, file group, file owner, device files & special files)

-z : Compress file data during the transfer

H : Preserve hard links (i.e. copy hard links as hard links)

--delete : Delete extraneous files from the receiving side (ones that aren't on the sending side), but only for the directories that are being synchronized i.e. keep exact replica of your /path/to/timeshift directory.

--numeric-ids : Transfer numeric group and user IDs rather than using user and group names and mapping them at both ends.

--progress : Show progress during transfer.

--log-file="/var/log/my-rsync-script.log" : Log what rsync command is doing to the /var/log/my-rsync-script.log file.


Thanks to @[email protected]

Original Comment: https://lemmy.world/comment/11611743

 

I want to copy (not move) my Timeshift Snapshots (Rsync) from my existing drive to another drive. Both drives are ext4. As far as I searched I am not able to find any viable results.

If not possible, just why?



Solved

https://www.cyberciti.biz/faq/linux-unix-apple-osx-bsd-rsync-copy-hard-links/

TLDR

sudo rsync -az -H --delete --numeric-ids /path/to/timeshift path/to/destination/

Where,

-a : Archive mode (i.e. recurse into directories, and preserve symlinks, file permissions, file modification times, file group, file owner, device files & special files)

-z : Compress file data during the transfer

H : Preserve hard links (i.e. copy hard links as hard links)

--delete : Delete extraneous files from the receiving side (ones that aren't on the sending side), but only for the directories that are being synchronized i.e. keep exact replica of your /path/to/timeshift directory.

--numeric-ids : Transfer numeric group and user IDs rather than using user and group names and mapping them at both ends.

--progress : Show progress during transfer.

--log-file="/var/log/my-rsync-script.log" : Log what rsync command is doing to the /var/log/my-rsync-script.log file.


Thanks to @[email protected]

Original Comment: https://lemmy.world/comment/11611743

22
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

I know this is a weird question. But I'm just wondering. Please don't kill me.

I do body weight exercises. And finding it harder to do exercises that want me to lay down on my front side. ^Because,^ ^my^ ^____^ ^is^ ^squishing^.^😮‍💨^

Also, there is a stupid stigma that exercise makes women more masculine. But are there any workouts that make a man look feminine? Like, it would be bit weird to see a BLL sized butt on a man, right?


This question came to my mind when I saw a workout plan in my app. The plans' name is "Bikini Body". I was like, "I should probably stay away from this. But what happens if I did it anyway?"

24
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

I know this is a weird question. But I'm just wondering. Please don't kill me.

I do body weight exercises. And finding it harder to do exercises that want me to lay down on my front side. ^Because,^ ^my^ ^____^ ^is^ ^squishing^.^😮‍💨^

Also, there is a stupid stigma that exercise makes women more masculine. But are there any workouts that make a man look feminine? Like, it would be bit weird to see a BLL sized butt on a man, right?


This question came to my mind when I saw a workout plan in my app. The plans' name is "Bikini Body". I was like, "I should probably stay away from this. But what happens if I did it anyway?"

view more: next ›