You've already forked pgbackrest
							
							
				mirror of
				https://github.com/pgbackrest/pgbackrest.git
				synced 2025-10-30 23:37:45 +02:00 
			
		
		
		
	New simpler configuration and consistent project/exe/path naming.
* The repo-path option now always refers to the repository where backups and archive are stored, whether local or remote, so the repo-remote-path option has been removed. The new spool-path option can be used to define a location for queueing WAL segments when archiving asynchronously. Otherwise, a local repository is no longer required. * Implemented a new config format which should be far simpler to use. See the User Guide and Configuration Reference for details but for a simple configuration all options can now be placed in the stanza section. Options that are shared between stanzas can be placed in the [global] section. More complex configurations can still make use of command sections though this should be a rare use case. * The default configuration filename is now pgbackrest.conf instead of pg_backrest.conf. This was done for consistency with other naming changes but also to prevent old config files from being loaded accidentally. * The default repository name was changed from /var/lib/backup to /var/lib/pgbackrest. * Lock files are now stored in /tmp/pgbackrest by default. These days /run/pgbackrest would be the preferred location but that would require init scripts which are not part of this release. The lock-path option can be used to configure the lock directory. * Log files are now stored in /var/log/pgbackrest by default and no longer have the date appended so they can be managed with logrotate. The log-path option can be used to configure the lock directory. * Executable filename changed from pg_backrest to pgbackrest.
This commit is contained in:
		| @@ -16,13 +16,13 @@ use POSIX qw(strftime); | ||||
| use Storable qw(dclone); | ||||
|  | ||||
| use lib dirname($0) . '/../lib'; | ||||
| use BackRest::Common::Log; | ||||
| use BackRest::Common::String; | ||||
| use BackRest::FileCommon; | ||||
| use BackRest::Version; | ||||
| use pgBackRest::Common::Log; | ||||
| use pgBackRest::Common::String; | ||||
| use pgBackRest::FileCommon; | ||||
| use pgBackRest::Version; | ||||
|  | ||||
| use lib dirname($0) . '/../test/lib'; | ||||
| use BackRestTest::Common::ExecuteTest; | ||||
| use pgBackRestTest::Common::ExecuteTest; | ||||
|  | ||||
| use BackRestDoc::Common::DocConfig; | ||||
| use BackRestDoc::Common::DocManifest; | ||||
|   | ||||
| @@ -16,11 +16,11 @@ use File::Copy; | ||||
| use Storable qw(dclone); | ||||
|  | ||||
| use lib dirname($0) . '/../lib'; | ||||
| use BackRest::Common::Ini; | ||||
| use BackRest::Common::Log; | ||||
| use BackRest::Common::String; | ||||
| use BackRest::Config::ConfigHelp; | ||||
| use BackRest::FileCommon; | ||||
| use pgBackRest::Common::Ini; | ||||
| use pgBackRest::Common::Log; | ||||
| use pgBackRest::Common::String; | ||||
| use pgBackRest::Config::ConfigHelp; | ||||
| use pgBackRest::FileCommon; | ||||
|  | ||||
| use BackRestDoc::Common::DocManifest; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user