c601a02b2b
User files are restored through the Files API so the file cache, versions and trash stay consistent: modes new-folder (default, into 'Restored <date>/<path>'), merge (overwritten files keep their old content as a version) and replace (extra files go to the trash). Each file is staged under a temporary name and moved into place only after all its blobs were verified. Any snapshot path can also be restored raw to a local directory (disaster recovery). Tested on NC34: all three modes restore checksum-identical files, the overwritten content is kept as a version, the extra file is in the trash, no temporary files remain.
37 lines
1.6 KiB
XML
37 lines
1.6 KiB
XML
<?xml version="1.0"?>
|
|
<info xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
|
|
<id>ng_backup</id>
|
|
<name>NG Backup</name>
|
|
<summary>Encrypted, incremental backups of your Nextcloud with restore from the web interface</summary>
|
|
<description><![CDATA[Work in progress, not ready for use.]]></description>
|
|
<version>0.0.4</version>
|
|
<licence>agpl</licence>
|
|
<author>Dillard Blom</author>
|
|
<namespace>NgBackup</namespace>
|
|
<category>tools</category>
|
|
<bugs>https://github.com/dillardblom/ng_backup/issues</bugs>
|
|
<dependencies>
|
|
<php min-version="8.1"/>
|
|
<lib>sodium</lib>
|
|
<nextcloud min-version="32" max-version="35"/>
|
|
</dependencies>
|
|
<background-jobs>
|
|
<job>OCA\NgBackup\BackgroundJob\BackupJob</job>
|
|
</background-jobs>
|
|
<commands>
|
|
<command>OCA\NgBackup\Command\KeyInit</command>
|
|
<command>OCA\NgBackup\Command\KeyKit</command>
|
|
<command>OCA\NgBackup\Command\KeyConfirm</command>
|
|
<command>OCA\NgBackup\Command\TargetBackends</command>
|
|
<command>OCA\NgBackup\Command\TargetAdd</command>
|
|
<command>OCA\NgBackup\Command\TargetList</command>
|
|
<command>OCA\NgBackup\Command\TargetRemove</command>
|
|
<command>OCA\NgBackup\Command\RunBackup</command>
|
|
<command>OCA\NgBackup\Command\Status</command>
|
|
<command>OCA\NgBackup\Command\ListSnapshots</command>
|
|
<command>OCA\NgBackup\Command\Browse</command>
|
|
<command>OCA\NgBackup\Command\Restore</command>
|
|
</commands>
|
|
</info>
|