Skip to content

Commit 7b87e5a

Browse files
committed
1.0.0-beta1
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
1 parent c2cc9c7 commit 7b87e5a

File tree

7 files changed

+72
-2901
lines changed

7 files changed

+72
-2901
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cert_dir=$(HOME)/.nextcloud/certificates
99
github_account=nextcloud
1010
release_account=nextcloud-releases
1111
branch=master
12-
version=0.2.0
12+
version=1.0.0-beta1
1313
since_tag=
1414

1515
all: appstore

README.md

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
This App allows admin to create and store backup images of their Nextcloud
44

5+
6+
- [Restoring Points](#restoring-point)
7+
- [How the Backup App manage your data](#backup-manage-data)
8+
- [Upload to External Storages](#external-storages)
9+
- [Important details about your data](#important)
10+
- [Available `occ` commands](#occ)
11+
12+
13+
<a name="restoring-point"></a>
514
## Restoring Points
615

716
A restoring point is an image of your Nextcloud at a specific time. A restoring point can be:
@@ -55,9 +64,55 @@ The normal process is to re-create the `restoring-point.data` a new one, however
5564
- the restoring process will require some knowledge from the admin about the infrastructure from the
5665
original instance that generated the backup.
5766

67+
<a name="backup-manage-data"></a>
68+
## How the Backup App manage your data
69+
70+
### The timing
71+
72+
The settings available in the Admin Settings/Backup page, allow an admin to configure when the next
73+
backups will be run and at which rate:
74+
...
75+
### The first pass (the backup process)
76+
...
77+
78+
### The second pass (the packing process)
79+
...
80+
81+
82+
<a name="external-storages"></a>
83+
## Upload to External Storages
84+
85+
86+
<a name="important"></a>
87+
## Important details about your data
88+
89+
- **Disk-space**: The 1st pass does not compress anything, meaning that you will need at least the
90+
equivalent of currently used space by your Nextcloud as available disk-space.
91+
If you have no disk-space available, you can setup your instance to directly store your backup on an
92+
external storage:
93+
- the data generated during the 1st pass are not encrypted, Your data leaves the internal data folder
94+
from your instance and are now available on an external storage.
95+
- the 1st-pass will require more resource and your instance will stays in maintenance mode for a
96+
longer time.
97+
- If your external storage is not a local folder, huge network resources will be required.
98+
99+
100+
- **Temporary Files**: during the 2nd pass (packing process), the compression and encryption require the
101+
creation of temporary files. while those files are temporary and deleted when they become useless, they
102+
are still available for few seconds. Meaning that the temp directory should not be shared with other
103+
application.
104+
58105

106+
- **Export your setup**: If the option is not disable, Backups are encrypted with a key that is stored in
107+
the database of your current instance of Nextcloud. The key is mandatory to recover any data from your backups.
108+
109+
You can export your setup from the Admin Settings/Backup page, or using `occ`. If encrypted, the export process will
110+
generate and returns its own key that will be required during the import when restoring your instance.
111+
As an admin, you will need to store the export file and its key, preferably in different location.
112+
59113

60-
## Quick documentation:
114+
<a name="occ"></a>
115+
## Available `occ` commands:
61116

62117
### Manage remote instance to store your backups remotely
63118

appinfo/info.xml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,22 @@
33
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
44
<id>backup</id>
55
<name>Backup</name>
6-
<description><![CDATA[Backup now. Restore later.]]></description>
6+
<summary>Backup now. Restore later.</summary>
7+
<description>
8+
<![CDATA[The Backup App allows admins to create and store backup images of their Nextcloud:
9+
- Backup the instance, its apps, your local data and your database,
10+
- Admin can configure the time slots for automated backup,
11+
- Full and Partial backup, with different frequencies,
12+
- 2-pass to limit the downtime of your instance (maintenance mode),
13+
- compression and encryption,
14+
- upload your encrypted backup on an external filesystem,
15+
- download and search for your data,
16+
- restore single file or the complete instance
17+
]]>
18+
</description>
19+
<version>1.0.0-beta1</version>
720
<licence>agpl</licence>
821
<author mail="maxence@artificial-owl.com">Maxence Lange</author>
9-
<version>23.0.0-alpha1</version>
1022
<namespace>Backup</namespace>
1123
<category>tools</category>
1224
<website>https://github.com/nextcloud/backup</website>

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Service/ExportService.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,4 @@ public function export(bool $encrypted, string &$key = ''): string {
100100

101101
return $data;
102102
}
103-
104103
}

0 commit comments

Comments
 (0)