Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
omv7:omv7_plugins:borgbackup [2024/05/05 14:30] – [Umount] chente | omv7:omv7_plugins:borgbackup [2025/01/11 13:40] (current) – [Create] chente | ||
---|---|---|---|
Line 17: | Line 17: | ||
---- | ---- | ||
- | === What is BorgBackup? | + | === Third Party Software Note === |
[[https:// | [[https:// | ||
+ | This OMV plugin uses BorgBackup, which was created by a third party. See the project web page -> [[https:// | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === What is BorgBackup? === | ||
+ | |||
Quote: | Quote: | ||
Line 47: | Line 53: | ||
* If you know the location of the file you want to restore, you can do it directly. The plugin' | * If you know the location of the file you want to restore, you can do it directly. The plugin' | ||
* If you do not know the exact location or version of the file or files you want to restore you need to inspect the contents of the backup. Borg allows you to mount a //ARCHIVE// in a server folder as if it were a standard file system. This allows us to inspect the content from the CLI or from any file explorer (such as WinSCP) and copy the files we need to another place. Once the files we need have been restored, we can unmount that folder. | * If you do not know the exact location or version of the file or files you want to restore you need to inspect the contents of the backup. Borg allows you to mount a //ARCHIVE// in a server folder as if it were a standard file system. This allows us to inspect the content from the CLI or from any file explorer (such as WinSCP) and copy the files we need to another place. Once the files we need have been restored, we can unmount that folder. | ||
+ | |||
+ | < | ||
+ | Beginners Info | ||
+ | </ | ||
+ | The key phrase that you should never forget is:< | ||
+ | < | ||
+ | Test how the data restoration process works. | ||
+ | </ | ||
---- | ---- | ||
Line 188: | Line 202: | ||
Do not confuse data integrity of an ARCHIVE in a REPOSITORY with data integrity of the backup source (your file system on the server where the data from which the backup is made is stored).< | Do not confuse data integrity of an ARCHIVE in a REPOSITORY with data integrity of the backup source (your file system on the server where the data from which the backup is made is stored).< | ||
< | < | ||
- | If you need to guarantee | + | If you need to ensure |
</ | </ | ||
Line 342: | Line 356: | ||
'' | '' | ||
+ | Example: setting the starting hour to 4 would mean the following: | ||
+ | * yearly jobs start on January 1 at 4 | ||
+ | * monthly jobs start on the first day of the month at 4:30 (4 + 30 mins) | ||
+ | * weekly jobs start on Mondays at 5 (4 + 1 hour) | ||
+ | * daily jobs start at 5:30 (4 + 1 hour + 30 mins) | ||
+ | * hourly start at 5 mins after the hour every hour | ||
---- | ---- | ||
Line 457: | Line 477: | ||
{{ : | {{ : | ||
- | The second step is to create a // | + | The second step is to create a // |
- | * In the SERVICES > BORGBACKUP > REPOS tab, press the CREATE button and establish the following configuration: | + | |
- | * ENABLE: We activate this button so that the programming is active. | + | We start with the //ARCHIVE// in the mary folder. In the SERVICES > BORGBACKUP > REPOS tab, press the CREATE button and establish the following configuration: |
- | * NAME/ | + | * ENABLE: We activate this button so that the programming is active. |
- | * REPO: We select the // | + | * NAME/ |
- | * COMPRESSION TYPE: '' | + | * REPO: We select the // |
+ | * COMPRESSION TYPE: '' | ||
* COMPRESSION RATIO: '' | * COMPRESSION RATIO: '' | ||
* ONE FILESYSTEM ONLY: We activate this button since we only want to backup a folder in a single file system. | * ONE FILESYSTEM ONLY: We activate this button since we only want to backup a folder in a single file system. | ||
* NO ATIME: We activate this button to avoid backing up versions with different access times. | * NO ATIME: We activate this button to avoid backing up versions with different access times. | ||
* INCLUDES: ''/ | * INCLUDES: ''/ | ||
- | * EXCLUDES: (We leave it blank, we don't want to exclude anything from the peter folder) | + | * EXCLUDES: (We leave it blank, we don't want to exclude anything from the mary folder) |
* RETAIN HOURLY: '' | * RETAIN HOURLY: '' | ||
* RETAIN DAILY: '' | * RETAIN DAILY: '' | ||
Line 498: | Line 519: | ||
To see the versions of the backups generated so far, select the // | To see the versions of the backups generated so far, select the // | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
---- | ---- | ||
Line 505: | Line 528: | ||
[[https:// | [[https:// | ||
In the guides section of the Openmediavault forum there is an excellent guide to performing remote backups masterfully written by forum member '' | In the guides section of the Openmediavault forum there is an excellent guide to performing remote backups masterfully written by forum member '' | ||
+ | |||
+ | Borg requires SSH connections to access remote repositories. These links may be useful to you: | ||
+ | |||
+ | --> [[https:// | ||
+ | |||
+ | --> [[https:// | ||
+ | |||
+ | --> [[https:// | ||
---- | ---- |