datastore.cfg¶
Description¶
The file /etc/proxmox-backup/datastore.cfg is a configuration file for Proxmox Backup Server. It contains the Datastore configuration.
File Format¶
This file contains a list of datastore configuration sections. Each
section starts with the header datastore: <name>, followed by the
datastore configuration options.
datastore: <name1>
path <path1>
<option1> <value1>
...
datastore: <name2>
path <path2>
...
You can use the proxmox-backup-manager datastore command to manipulate
this file.
Options¶
Required properties:
path<string>Directory name
Optional properties:
comment<string>Comment (single line).
gc-schedule<calendar-event>Run garbage collection job at specified schedule.
maintenance-mode[type=<enum> [,message=<string>]]Maintenance mode, type is either 'offline' or 'read-only', message should be enclosed in "
type=read-only|offlineMaintenance type.
message=<string>Message describing the reason for the maintenance.
notify[[gc=<enum>] [,sync=<enum>] [,verify=<enum>]]Datastore notification setting
gc=never|always|errorWhen do we send notifications
sync=never|always|errorWhen do we send notifications
verify=never|always|errorWhen do we send notifications
notify-user<string>User ID
prune-schedule<calendar-event>Run prune job at specified schedule.
tuning[[chunk-order=<enum>]]Datastore tuning options
chunk-order=none|inodeThe order to sort chunks by
verify-new<boolean>If enabled, all new backups will be verified right after completion.
keep-daily<integer> (1 - N)Number of daily backups to keep.
keep-hourly<integer> (1 - N)Number of hourly backups to keep.
keep-last<integer> (1 - N)Number of backups to keep.
keep-monthly<integer> (1 - N)Number of monthly backups to keep.
keep-weekly<integer> (1 - N)Number of weekly backups to keep.
keep-yearly<integer> (1 - N)Number of yearly backups to keep.
Copyright and Disclaimer¶
Copyright (C) 2019-2022, Proxmox Server Solutions GmbH
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/