Hey Dan,

I did what you suggested with the combo box.

I realised that if you have the schedule per include folder then the cron
job is set to the most frequent option; thus if one folder should backup
daily at 17:00 and another every 10 minutes the cron job will be every 10
minutes.

Because of this I want to adjust the _is_auto_backup_needed method to factor
in the backup hour, however, this depends on information from
_get_last_snapshot_info which seems to look for an info file in
~/.share/local/backintime/snapshot.last; but this file doesn't get created
on my system.

Can you let me know how information about the last run of a snapshot is
stored so I can reference it to determine if a folder should be backed up?
If someone is expecting a folder to be backed up at 5pm I don't want to back
it up the first thing in the morning, because they may depending on that
backup to do a restore at 5:30pm for a file they changed during that day.

Regards,
Richard

On Thu, Oct 22, 2009 at 3:15 AM, Dan <[email protected]> wrote:

> Hi,
>
> If you have only one schedule the hour combo should visible/enabled only
> for daily backups or more.
> If you have schedule per included directory you can show the combo into
> general settings with a simple label like: "time for daily ore more
> backups". Allowing to specify different hours for each folder can be nice
> but it may take a lot of work and I don't think it really worth it. It can
> be a future improvement.
>
> Regards,
> Dan
>
> Richard Bailey wrote:
>
>> Hey guys,
>>
>> I pushed the code for the backup hour option to this branch:
>> https://code.launchpad.net/~rmjb/backintime/backuphour<https://code.launchpad.net/%7Ermjb/backintime/backuphour><
>> https://code.launchpad.net/%7Ermjb/backintime/backuphour>
>>
>> It's not complete, but you can choose the hour for backups in gnome once
>> you don't choose the schedule per include folder option.
>>
>> --
>> "Asking the wrong questions is the leading cause of wrong answers."
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Mailing list: 
>> https://launchpad.net/~bit-team<https://launchpad.net/%7Ebit-team>
>> Post to     : [email protected]
>> Unsubscribe : 
>> https://launchpad.net/~bit-team<https://launchpad.net/%7Ebit-team>
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>


-- 
"Asking the wrong questions is the leading cause of wrong answers."
_______________________________________________
Mailing list: https://launchpad.net/~bit-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~bit-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to