aptik-legacy icon indicating copy to clipboard operation
aptik-legacy copied to clipboard

Allow scheduling

Open arderyp opened this issue 8 years ago • 5 comments

As DejaDup does.

arderyp avatar Mar 31 '17 15:03 arderyp

This is outside the scope of the project. Aptik is a migration utility which is meant to be used once before reinstalling/upgrading the system and once after install. It is not meant to be used as a backup utility.

teejee2008 avatar Mar 31 '17 19:03 teejee2008

Scheduling can be done manually by creating a cron job and a script which calls the command line version.

teejee2008 avatar Mar 31 '17 19:03 teejee2008

ahh, okay, thanks for the input. I'm using it as a backup. In the instance of drive failure, a user not using it as a backup cannot use it at all :)

arderyp avatar Mar 31 '17 20:03 arderyp

The problem is that home directories can contain several GBs of data. Running it as a background or scheduled task will impact system performance when the task runs. Also I'll need to add a way to create multiple backups and manage them since we don't want a scheduled backup overwriting a previous one.

Creating scripts for this is easy. Just run: aptik --backup-all in a cron script.

I'll keep this open.

teejee2008 avatar Apr 01 '17 03:04 teejee2008

It's all good. Even if there was a scheduler, I personally wouldn't use it (I don't with DejaDup). It was just a thought. This is an awesome service, and I thought people used to Deja might want/expect similar functionality here, thats all.

arderyp avatar Apr 01 '17 03:04 arderyp