You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a raw version that has not been reviewed or corrected. The idea is that together we can create a fully functional final version.
I'm new to Github. This is the easiest way to share the file: https://cloud.brasdrive.com.br/s/f3cReWoRGAxaDMH
Explanation of the Adaptations Made
Connection to PostgreSQL:
All database connections and queries were changed from MySQL to PostgreSQL using pg_connect, pg_query, and related functions.
Backup and Restore Commands:
The backup and restore commands were changed to use pg_dump and psql instead of mysqldump and mysql.
SQL Queries:
The SQL queries were adapted to use PostgreSQL syntax, including double quotes for identifiers and specific functions like EXTRACT(EPOCH FROM ...).
Execution Options:
The dry-run, update-db, and delete-local options were kept as they were in the original script.
S3 Compatibility:
The configuration and use of AWS S3 for file synchronization were maintained.
This script should be executed in the Docker environment of Nextcloud to ensure that all dependencies and specific configurations are available. Be sure to make a full backup before running it in your production environment.
The text was updated successfully, but these errors were encountered:
I've made a version utilizing PDO, so theoretically it could be adapted to a "universal" script. still needs some work on SQL scripts to see, if there are some flavor-independent options (mostly considering time functions in MySQL and PostgreSQL).
This is a raw version that has not been reviewed or corrected. The idea is that together we can create a fully functional final version.
I'm new to Github. This is the easiest way to share the file:
https://cloud.brasdrive.com.br/s/f3cReWoRGAxaDMH
Explanation of the Adaptations Made
Connection to PostgreSQL:
All database connections and queries were changed from MySQL to PostgreSQL using pg_connect, pg_query, and related functions.
Backup and Restore Commands:
The backup and restore commands were changed to use pg_dump and psql instead of mysqldump and mysql.
SQL Queries:
The SQL queries were adapted to use PostgreSQL syntax, including double quotes for identifiers and specific functions like EXTRACT(EPOCH FROM ...).
Execution Options:
The dry-run, update-db, and delete-local options were kept as they were in the original script.
S3 Compatibility:
The configuration and use of AWS S3 for file synchronization were maintained.
This script should be executed in the Docker environment of Nextcloud to ensure that all dependencies and specific configurations are available. Be sure to make a full backup before running it in your production environment.
The text was updated successfully, but these errors were encountered: