linuxmint / timeshift

System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.
1.53k stars 75 forks source link

Guided config in terminal #282

Open MisterZig opened 4 months ago

MisterZig commented 4 months ago

Is your feature request related to a problem? Please describe. Today I setup timeshift for the first time on a new installation and tried creating a backup using the terminal command before opening the gui and it automatically generated a config file (which was not suitable).

Describe the solution you'd like I'd like it if timeshift would guide the user through making a config if they try to run it without a config rather than it just trying to create a backup with an automatically generated configuration.

To me it would seem logical for it start a sort of wizard I guess where it would prompt the user if they want rsync or btrfs then move on to the next bit (the same as the gui but with text).

If this already exists having timeshift ask if it should run it when there's no existing config would be a good idea in my opinion.

Describe alternatives you've considered Just a confirmation about whether you actually want a config to be automatically generated would be a nice alternative.

Additional context I'd be happy to make this using bash and existing timeshift commands. I could also try to do it properly with Vala if that is preferred. I wanted to make these suggestions and ask these questions before going through all the work and making a PR though. Since I'm not sure if I'm the only one who thinks it's a good idea and if my concept is good enough to be implemented.