Project

General

Profile

Feature #4887

Backup process improvements

Added by Mark Clarkstone almost 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Configuration
Target version:
-
Start date:
2018-01-24
Due date:
% Done:

0%

Estimated time:

Description

After an upgrade the backup process is triggered slowing the start of tvh, for small configs this isn't a problem, but larger ones this can take some time.

I know the obvious solution would be to disable backups at start with the -B option, but it would be nice if tvh could spawn the backup process in the background.

I have a few ideas of how this could be done.

  1. Snapshot the config before start then spawn the backup?
  2. Copy the config dir to a temporary directory, start tvh then backup the copy?

Opinions?


Files

History

#1

Updated by saen acro almost 7 years ago

Option 3. Backup after change detected.

#2

Updated by Sebastian K. almost 7 years ago

I don't think I've got a large config. But I use the imagecache functionality so the amount of pictures from events and channel are huge.

For a desaster recovery I think it's unnecessary... May be this patch helps...

#3

Updated by Mark Clarkstone almost 7 years ago

Sebastian K. wrote:

I don't think I've got a large config. But I use the imagecache functionality so the amount of pictures from events and channel are huge.

For a desaster recovery I think it's unnecessary... May be this patch helps...

This would certainly cut down on the config sizes but some may not want their icons disappearing.

Also available in: Atom PDF