Date: Wed, 23 Mar 2022 18:39:56 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 262337] ports-mgmt/pkg restore fails when created by periodic in /var/backups Message-ID: <bug-262337-32340-HfZ450LYRV@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-262337-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-262337-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262337 --- Comment #1 from Henrik Rosenke <rosenke@dssgmbh.de> --- This couldnt work this way as i noticed now.=20 The 'pkg backup' command and the 411.pkg-backup script produce 2 different backup archives. The right way to restore a backup from the periodic is: rm /var/db/pkg/local_sqlite xzcat /var/backup/pkg.sql.xz | pkg shell=20 I cant find these documented anywhere, this should be noted in either 411.pkg-backup or the pkg-backup manpage. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262337-32340-HfZ450LYRV>