LinkAce provides an easy way to back up the whole application including the database to the local filesystem, or any S3-compatible service, including Amazon AWS S3, Minio or Backblase B2. Under the hood LinkAce uses the Spatie Backup package. Please consult the documentation of the package for advanced configuration.
When using Docker, backups can be found in the
backupsfolder outside the container.
When using the PHP install method, backups can be found in the
By default, the backup system will periodically purge old backups if they exceed 250 MB of disk usage. For more details, read more about configuration.
Configure the backups
To back up LinkAce add the following settings to your .env file:
|.env setting||Possible values||Default value||Description|
||Set to true to enable the application backups|
||The storage for backups:
||any email address||
||Set a valid email address to receive notification about backups.|
||The maximum size of all backups in MB. Once reached the oldest backups will be deleted.|
if you want to use AWS S3 for backups, define the key ID, the access key, the region and your bucket name here:
AWS_ACCESS_KEY_ID=ZG25U... AWS_SECRET_ACCESS_KEY=V8pu... AWS_DEFAULT_REGION=eu-central-1 AWS_BUCKET=linkace
Using a third-party S3-compatible service
Instead of Amazon AWS S3, you can use any S3-compatible service. To connect to the service instead of AWS, you have to set the correct endpoint in your
.env file. Near your other AWS_ settings, add the following line and replace the URL with your own service URL: