You are not logged in.

#1 2021-01-26 14:25:12

cyborge
Member
Registered: 2021-01-08
Posts: 30

[Solved- Read arch wiki and keep trying]Snapper config file

I have  added snapper package to create btrfs backup

1) But I'm  unable to understand the configuration file .
2) I want to create a snap shot on running pacman command
3) and want to limit the number of snapshots taken to only 4
4) and rename the snapshots from 1 (i.e.  from starting again) after deleting the older snapshots

Can anyone help me to configure the snapper file

Last edited by cyborge (2021-01-27 16:49:08)

Offline

#2 2021-01-27 13:56:51

fire100265
Member
Registered: 2020-10-05
Posts: 95

Re: [Solved- Read arch wiki and keep trying]Snapper config file

The config is so easy to understand. Is English your first language? Anyway, I'll try answering your questions.

2. You could try the snap-pac package or snp in the AUR. The first is a pacman hook which runs every time there's a pacman transaction. The second wraps any shell command in a pre-post snapshot.

3. Edit the part in the config about maximum snapshots per hour, day etc

4. I don't think it's possible. You could just delete your snapshots and create new ones.

Last edited by fire100265 (2021-01-27 13:57:11)

Offline

#3 2021-01-27 16:47:59

cyborge
Member
Registered: 2021-01-08
Posts: 30

Re: [Solved- Read arch wiki and keep trying]Snapper config file

fire100265 wrote:

The config is so easy to understand. Is English your first language? Anyway, I'll try answering your questions.

2. You could try the snap-pac package or snp in the AUR. The first is a pacman hook which runs every time there's a pacman transaction. The second wraps any shell command in a pre-post snapshot.

3. Edit the part in the config about maximum snapshots per hour, day etc

4. I don't think it's possible. You could just delete your snapshots and create new ones.

Thanks for guide, i was a bit confused to change all those parameters, but finally I figured out by trying again and again .

Offline

Board footer

Powered by FluxBB