Skip to content

Instantly share code, notes, and snippets.

View juan-apa's full-sized avatar
🧉
drinking mate

Juan Aparicio juan-apa

🧉
drinking mate
View GitHub Profile
@juan-apa
juan-apa / restorer.sh
Last active October 19, 2022 16:30
Restorer tool for restoring dumps
#!/usr/bin/env ruby
# frozen_string_literal: true
# Usage examples:
#
# For making dumps:
# restorer.sh -b 6053 # Backups the dump-6053.dump file
# restorer.sh --backup 6053 # Backups the dump-6053.dump file
#
# For restoring dumps: