8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7d7ceb commit 04b96deCopy full SHA for 04b96de
tests/helpers/ptrack_helpers.py
@@ -877,8 +877,15 @@ def set_archiving(
877
'postgresql.auto.conf',
878
'archive_mode = {0}'.format(archive_mode)
879
)
880
- archive_command = '"{0}" archive-push -B {1} --instance={2} '.format(
881
- self.probackup_path, backup_dir, instance)
+ if os.name == 'posix':
+ archive_command = '"{0}" archive-push -B {1} --instance={2} '.format(
882
+ self.probackup_path, backup_dir, instance)
883
+
884
+ elif os.name == 'nt':
885
886
+ self.probackup_path.replace("\\","\\\\"),
887
+ backup_dir.replace("\\","\\\\"),
888
+ instance)
889
890
if self.archive_compress or compress:
891
archive_command = archive_command + '--compress '
0 commit comments