Skip to content

Automatic Backups

LRMtheBoss edited this page Apr 14, 2024 · 6 revisions

DriveBackupV2 supports two types of automatic backups, interval-based backups, and schedule-based backups.

Interval-Based Automatic Backups

Interval-based backups run at an interval and are on by default.

delay

How often to run a backup (the interval), in minutes.

If Schedule-Based Automatic Backups are enabled, this setting will be ignored.

Set this to -1 to disable interval-based automatic backups.

Default is 60

Schedule-Based Automatic Backups

Schedule-based backups run at each specified day and time combination.

scheduled-backups

Whether schedule-based backups are enabled. Enabling schedule-based backups will disable interval-based backups.

backup-schedule-list

The list of the days/times to run a backup.

An entry consists of two things

  • The day(s) to run the backup on
  • The time to run the backup at

days

The day(s) to run the backup on should be a list comprised of one or more of the following:

  • Days of the week: sunday, monday, tuesday, wednesday, thursday, friday, or saturday
  • Groups of days: weekdays or weekends
  • All days: everyday

time

The time to run the backup should be in 24-hour format. If the hour or minute is less than 10, you must add a leading zero. To change the timezone, you can use date-timezone under advanced settings.

For example, 03:00 (3 AM) or 13:00 (1 PM).

An example of a backup schedule list:

backup-schedule-list:
- days: 
  - "sunday"
  - "wednesday"
  time: "05:00"
- days: 
  - "everyday"
  time: "23:30"

Other Automatic Backup Settings

backups-require-players

Whether automatic backups should be disabled if there hasn't been any new player activity since the last backup.

Default: true