Skip to content

A self-hosted media server and file management system

new commands

aminnausin8db2db7e8eab
diff --git a/commands.txt b/commands.txt
index 58698709..065dee6c 100644
--- a/commands.txt
+++ b/commands.txt
@@ -5,4 +5,9 @@ Fix sql ID
select setval('ecommerce."purchases_id_seq"', coalesce((select max(id)+1 from ecommerce.purchases), 1), false)
Backup pgsql
-pg_dump -h 127.0.0.1 -p 5432 -U postgres -Fc -d mediaServer -v -f databaseBackups/pgsql_bk_mediaServer20240818
\ No newline at end of file
+pg_dump -h 127.0.0.1 -p 5432 -U postgres -Fc -d mediaServer -v -f databaseBackups/pgsql_bk_mediaServer20240818
+
+Fix broken merge to main
+- Find the revert commit (the one that caused the deletion of the files). open that in new branch
+- git merge main --no-commit into it and fix files you need to restore
+- fkaroundandfindout
\ No newline at end of file