Guest User

Untitled

a guest
Sep 2nd, 2025
40
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.53 KB | None | 0 0
  1. # cat /etc/restic/profiles.yaml
  2. version: "1"
  3.  
  4. global:
  5.   default-command: snapshots
  6.   initialize: false
  7.   priority: low
  8.   min-memory: 200
  9.   scheduler: "crond"
  10.   schedule-defaults:
  11.     log: "/var/log/backup.log"
  12.  
  13. {{ $mysql_dbs := "prod, dev, logs" }}
  14. {{ $mongo_dbs := "prod, dev" }}
  15.  
  16. groups:
  17.   dbs-backup:
  18. {{ range $dbname := $mysql_dbs | split "," }}
  19. {{ $dbname := $dbname | trim }}
  20.     - mysql-db-{{ $dbname }}
  21. {{ end }}
  22.   mongo-backups:
  23. {{ range $dbname := $mongo_dbs | split "," }}
  24. {{ $dbname := $dbname | trim }}
  25.     - mongo-db-{{ $dbname }}
  26. {{ end }}
  27.  
  28. www:
  29.   repository: "s3:s3.ru-1.storage.selcloud.ru/backups/www"
  30.   env-file: "/root/.secrets/restic_backup"
  31.   status-file: "/var/spool/backup.status"
  32.   cache-dir: "/var/cache/restic"
  33.   lock: "/tmp/backup.lock"
  34.   insecure-tls: true
  35.   backup:
  36.     source:
  37.      - "/var/www/"
  38.     tag: "www"
  39.     verbose: true
  40.     extended-status: true
  41.     exclude-caches: true
  42.     one-file-system: true
  43.     compression: "max"
  44.     schedule-permission: system
  45.     schedule-lock-wait: 10m
  46.   snapshots:
  47.     tag: "www"
  48.   check:
  49.     read-data-subset: "10M"
  50.  
  51. {{ range $dbname := $mysql_dbs | split "," }}
  52. {{ $dbname := $dbname | trim }}
  53. mysql-db-{{ $dbname }}:
  54.   repository: "s3:s3.ru-1.storage.selcloud.ru/backups/dbs"
  55.   env-file: "/root/.secrets/restic_backup"
  56.   status-file: "/var/spool/backup.status"
  57.   cache-dir: "/var/cache/restic"
  58.   lock: "/tmp/backup.lock"
  59.   insecure-tls: true
  60.   backup:
  61.     stdin-command: 'mysqldump $mysqlopts --defaults-extra-file=/root/.secrets/mysql_dumper.cnf -R -Q -q --add-locks {{ $dbname }}'
  62.     stdin-filename: "{{ $dbname }}.sql"
  63.     tag: "mysql-{{ $dbname }}"
  64.     verbose: true
  65.     extended-status: true
  66.     exclude-caches: true
  67.     one-file-system: true
  68.     compression: "auto"
  69.     schedule-permission: system
  70.     schedule-lock-wait: 10m
  71.   snapshots:
  72.     tag: "mysql-{{ $dbname }}"                                                                    
  73.   check:
  74.     read-data-subset: "10M"                                                        
  75.     tag: "mysql-{{ $dbname }}"
  76.   retention:
  77.     tag: "mysql-{{ $dbname }}"
  78.     before-backup: false
  79.     after-backup: true
  80.     keep-yearly: 6
  81.     keep-monthly: 90
  82.     keep-weekly: 2
  83.     keep-daily: 6
  84.     keep-hourly: 3
  85.     keep-last: 6
  86.     prune: true
  87. {{ end }}
  88.  
  89. {{ $tsnow := .Now.Unix }}
  90.  
  91. {{ range $dbname := $mongo_dbs | split "," }}
  92. {{ $dbname := $dbname | trim }}
  93. mongo-db-{{ $dbname }}:
  94.   repository: "s3:s3.ru-1.storage.selcloud.ru/backups/dbs"
  95.   env-file: "/root/.secrets/restic_backup"
  96.   status-file: "/var/spool/backup.status"
  97.   cache-dir: "/var/cache/restic"
  98.   lock: "/tmp/backup.lock"
  99.   insecure-tls: true
  100.   backup:
  101.     run-before: 'mkdir -p /var/tmp/mongodump/{{ $dbname }}_{{ $tsnow }} && mongodump -d {{ $dbname }} -o /var/tmp/mongodump/{{ $dbname }}_{{ $tsnow }}'
  102.     run-finally: 'rm -rf /var/tmp/mongodump/{{ $dbname }}_{{ $tsnow }}'
  103.     source:
  104.      - "/var/tmp/mongodump/{{ $dbname }}_{{ $tsnow }}"
  105.     tag: "mongo-{{ $dbname }}"
  106.     verbose: true
  107.     extended-status: true
  108.     exclude-caches: true
  109.     one-file-system: true
  110.     compression: "auto"
  111.     schedule-permission: system
  112.     schedule-lock-wait: 10m
  113.   snapshots:
  114.     tag: "mongo-{{ $dbname }}"
  115.   check:
  116.     read-data-subset: "10M"
  117.     tag: "mongo-{{ $dbname }}"
  118.   retention:
  119.     tag: "mongo-{{ $dbname }}"
  120.     before-backup: false
  121.     after-backup: true
  122.     keep-yearly: 6
  123.     keep-monthly: 90
  124.     keep-weekly: 2
  125.     keep-daily: 6
  126.     keep-hourly: 3
  127.     keep-last: 6
  128.     prune: true
  129. {{ end }}
Advertisement
Comments
  • Xengaxor
    114 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 38% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from Swapzone — instant swap).
Add Comment
Please, Sign In to add comment