[0;34m[2025-08-30 14:35:05][0m Starting Vaultwarden data sync to NFS share
[0;34m[2025-08-30 14:35:05][0m Step 1: Verifying source Vaultwarden container status
[0;34m[2025-08-30 14:35:06][0m Found Vaultwarden container: ef074c4fe727
[0;34m[2025-08-30 14:35:06][0m Step 2: Stopping Vaultwarden container for consistent sync
[0;34m[2025-08-30 14:35:12][0m Step 3: Verifying NFS mount accessibility
[0;32m[2025-08-30 14:35:12] SUCCESS:[0m NFS mount is accessible and writable
[0;34m[2025-08-30 14:35:12][0m Step 4: Creating backup of current NFS data
[0;32m[2025-08-30 14:35:13] SUCCESS:[0m NFS backup created: /tmp/vaultwarden_nfs_backup_20250830_143512.tar.gz
[0;34m[2025-08-30 14:35:13][0m Step 5: Clearing NFS directory and syncing data
[0;34m[2025-08-30 14:35:14][0m Syncing data from source to NFS
[0;34m[2025-08-30 14:35:19][0m Step 6: Verifying data sync
[0;34m[2025-08-30 14:35:20][0m Source files: 778
[0;34m[2025-08-30 14:35:20][0m NFS files: 778
[0;32m[2025-08-30 14:35:20] SUCCESS:[0m File count matches between source and NFS
[0;32m[2025-08-30 14:35:20] SUCCESS:[0m SQLite database synced to NFS
[0;32m[2025-08-30 14:35:21] SUCCESS:[0m RSA key synced to NFS
[0;34m[2025-08-30 14:35:21][0m Step 7: Setting proper permissions
[0;32m[2025-08-30 14:35:23] SUCCESS:[0m Permissions set correctly
[0;34m[2025-08-30 14:35:23][0m Step 8: Restarting Vaultwarden container
[0;34m[2025-08-30 14:35:24][0m Waiting for Vaultwarden to be healthy
[0;32m[2025-08-30 14:36:24] SUCCESS:[0m Vaultwarden container is healthy
[0;34m[2025-08-30 14:36:24][0m Step 9: Final verification
[0;34m[2025-08-30 14:36:25][0m Source database size: 2445312 bytes
[0;34m[2025-08-30 14:36:25][0m NFS database size: 2445312 bytes
[0;32m[2025-08-30 14:36:25] SUCCESS:[0m Database sizes match - sync completed successfully
[0;34m[2025-08-30 14:36:25][0m 
[0;34m[2025-08-30 14:36:25][0m === SYNC COMPLETED SUCCESSFULLY ===
[0;34m[2025-08-30 14:36:25][0m ✅ Current Vaultwarden data synced to NFS share
[0;34m[2025-08-30 14:36:25][0m ✅ File counts match: 778 files
[0;34m[2025-08-30 14:36:25][0m ✅ Database sizes match: 2445312 bytes
[0;34m[2025-08-30 14:36:25][0m ✅ Vaultwarden container restarted and healthy
[0;34m[2025-08-30 14:36:25][0m ✅ NFS backup created: /tmp/vaultwarden_nfs_backup_20250830_143512.tar.gz
[0;34m[2025-08-30 14:36:25][0m 
[0;34m[2025-08-30 14:36:25][0m Ready to proceed with migration!
[0;32m[2025-08-30 14:36:25] SUCCESS:[0m Vaultwarden data sync completed successfully!
