Files
duplicati/Duplicati/CommandLine/DatabaseTool/Scripts/Server/8. Check for encrypted fields.sql
T

6 lines
293 B
SQL
Raw Normal View History

2025-04-24 16:42:57 +02:00
/* This script returns an error message if any encrypted values are found */
2025-05-16 15:51:30 +02:00
SELECT 'Database is encrypted and must be decrypted before it can be downgraded' AS "Message"
2025-04-24 16:36:14 +02:00
FROM Option WHERE Value LIKE 'enc-v1:%'
UNION ALL
SELECT TargetURL
FROM Backup WHERE TargetURL LIKE 'enc-v1:%' LIMIT 1;