diff --git a/backups.md b/backups.md new file mode 100644 index 000000000..f62c09664 --- /dev/null +++ b/backups.md @@ -0,0 +1,9 @@ +# Backups + +- [[postgres]] + - ```pg_dumpall > date.db``` +- [[mysql]] + - ```mysqldump db > date.db``` +- [[pull]] [[restores]] + - an unrestored backup does not really exist. + diff --git a/journal/2021-03-05.md b/journal/2021-03-05.md index a54a0a0e2..2ddbec146 100644 --- a/journal/2021-03-05.md +++ b/journal/2021-03-05.md @@ -14,6 +14,8 @@ - Implement [[rss]] / [[atom]] feeds - Make 'go wp' work - I should probably learn [[prolog]]. +- [[backups]] + - [[amadeo]] - vio a [[spoon]] en vivo - [[push]] [[done]] diff --git a/restores.md b/restores.md new file mode 100644 index 000000000..647cecf18 --- /dev/null +++ b/restores.md @@ -0,0 +1,15 @@ +# Restores + +- [[postgres]] + - ```pgsql < date.db``` +- [[mysql]] + - ```mysql db < date.db``` +- [[pull]] [[backups]] + - so you have something to restore. + + + +[//begin]: # "Autogenerated link references for markdown compatibility" +[pull]: pull "Pull" +[backups]: backups "Backups" +[//end]: # "Autogenerated link references" \ No newline at end of file