backup-utils icon indicating copy to clipboard operation
backup-utils copied to clipboard

Backup fails intermittently with error git-hooks environment tarballs not found

Open darshandeshmukh11 opened this issue 5 years ago • 1 comments

Version - github-backup-utils-v2.20.2 We have configured to take hourly backup of Github repo. But it fails intermittently.

Logs -

Completed backup of mygithub.com:122 in snapshot 20201129T090002 at 10:00:32
Checking for leaked ssh keys ...
* No leaked keys found
Starting backup of mygithub.com with backup-utils v2.20.2 in snapshot 20201129T110001
Connect mygithub.com:122 OK (v2.20.18)
Backing up GitHub settings ...
* Transferring settings data ...
* Transferring license data ...
* Transferring management console password ...
* Transferring CA certificates ...
* Transferring UUID ...
Backing up SSH authorized keys ...
Backing up SSH host keys ...
Backing up MySQL database ...
Backing up Redis database ...
Backing up audit log ...
dumping table schema...
2020/11/29 17:00:11 Single instance
2020/11/29 17:00:11 Using conf: {UseSudo:true UseSSH:false UseGzip:false SchemaOnly:true SSHMaster: SSHUser: SSHPort:0 User:root Host:}
2020/11/29 17:00:11 Dumping audit entries for 1-01
2020/11/29 17:00:11 Running command: sudo, args: [mysqldump --user=root --default-character-set=utf8 --hex-blob --single-transaction --quick --set-gtid-purged=OFF --ssl-mode=DISABLED --skip-add-drop-table --replace --where=created_at >= '1-01' and created_at < '1-02' -d github_enterprise audit_entries]
Current and previous schemas match
only table schema was dumped
Backing up hookshot logs ...
Backing up Git repositories ...
* Transferring 171 repositories from mygithub.com

* Transferring auxiliary files ...
receiving incremental file list

sent 5,143 bytes  received 107,155 bytes  74,865.33 bytes/sec
total size is 5,592,763  speedup is 49.80

* Transferring packed-refs files ...
receiving incremental file list

sent 4,556 bytes  received 31,205 bytes  23,840.67 bytes/sec
total size is 117,822  speedup is 3.29

* Transferring refs and reflogs ...
receiving incremental file list

sent 6,316 bytes  received 75,701 bytes  54,678.00 bytes/sec
total size is 2,041,150  speedup is 24.89

* Transferring objects and packs ...
receiving incremental file list

sent 8,206 bytes  received 147,925 bytes  104,087.33 bytes/sec
total size is 1,346,789,004  speedup is 8,626.02


* Transferring special data directories from mygithub.com...
receiving incremental file list
./

sent 176 bytes  received 164 bytes  226.67 bytes/sec
total size is 43  speedup is 0.13

Backing up GitHub Pages ...

* Starting backup for host: mygithub.com

* Transferring pages files ...
receiving incremental file list
./

sent 68 bytes  received 3,685 bytes  7,506.00 bytes/sec
total size is 11,559,947  speedup is 3,080.19
Backing up storage data ...
* Transferring 1055 objects from mygithub.com
receiving incremental file list

sent 78,458 bytes  received 140,894 bytes  146,234.67 bytes/sec
total size is 39,400,403,721  speedup is 179,621.81
Backing up custom Git hooks ...
git-hooks environment tarballs not found. Skipping ...
receiving incremental file list
./

sent 27 bytes  received 52 bytes  52.67 bytes/sec
total size is 0  speedup is 0.00
Backing up Elasticsearch indices ...
* Performing initial sync of ES indices ...
receiving incremental file list
./
github-enterprise/nodes/0/indices/FDxK5yWBRT6phETy

darshandeshmukh11 avatar Nov 30 '20 10:11 darshandeshmukh11

@darshandeshmukh11 - I know this is a very late response to your question - are you still seeing issues? I am assuming you have upgraded to a new version of GHES - still seeing same problem?

shcorbett avatar Aug 01 '22 18:08 shcorbett