Chinese | English
If the backup location is in My Network Places, please use the CIFS branch.
- Please refer to
*.env_sample
to create*.env
SA_PWD
: Your database SA passwordCIFS_OPTION
: user=YOUR_CIFS_ACCOUNT,password=YOUR_CIFS_PASSWORD (this setting is for CIFS branch only)BACKUP_FOLDER
: The absolute path of the database synchronization directory, for exampleD:\docker-MSSQL-Server\backup
,//192.168.0.1/backup
- Edit
docker-compose.yml
- If you want to backup, uncomment the backup service
- If you want to restore, uncomment the restore service
docker-compose up -d
The backup and restore containers will stop after execution, just start the container to perform the operation.