/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send/ |
H A D | zfs_send-b.ksh | 27 # 3. Send the dataset and its properties to a new "backup" destination 28 # 4. Set some properties on the new "backup" dataset 29 # 5. Restore the "backup" dataset to a new destination 30 # 6. Verify only original (received) properties are sent from "backup" 37 for ds in "$SENDFS" "$BACKUP" "$RESTORE"; do 46 BACKUP="$TESTPOOL/backup" 73 # 3. Send the dataset and its properties to a new "backup" destination 75 log_must eval "zfs send -p $SENDFS@s1 | zfs recv $BACKUP" 77 # 4. Set some properties on the new "backup" dataset 79 log_must zfs set "compression=lz4" $BACKUP [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_compressed_corrective.ksh | 47 backup=$TEST_BASE_DIR/backup 54 log_must rm -f $backup $raw_backup $ibackup $unc_backup 103 log_must eval "zfs send --compressed $TESTPOOL/$TESTFS1@snap1 > $backup" 114 test_corrective_recv $TESTPOOL/$TESTFS1@snap1 $backup 122 $TESTPOOL/$TESTFS2 < $backup" 128 test_corrective_recv "$TESTPOOL/$TESTFS2@snap1" $backup 143 $TESTPOOL/testfs4 < $backup" 149 test_corrective_recv "$TESTPOOL/testfs4@snap1" $backup 154 $TESTPOOL/testfs5 < $backup" 159 log_must eval "zfs send --compressed $TESTPOOL/testfs5@snap1 > $backup" [all …]
|
H A D | zfs_receive_large_block_corrective.ksh | 47 backup=$TEST_BASE_DIR/backup 54 log_must rm -f $backup $raw_backup $ibackup $unc_backup 104 log_must eval "zfs send -L $TESTPOOL/$TESTFS1@snap1 > $backup" 115 test_corrective_recv $TESTPOOL/$TESTFS1@snap1 $backup 123 $TESTPOOL/$TESTFS2 < $backup" 129 test_corrective_recv "$TESTPOOL/$TESTFS2@snap1" $backup 144 -o recordsize=1m $TESTPOOL/testfs4 < $backup" 150 test_corrective_recv "$TESTPOOL/testfs4@snap1" $backup 155 $TESTPOOL/testfs5 < $backup" 160 log_must eval "zfs send -L $TESTPOOL/testfs5@snap1 > $backup" [all …]
|
H A D | zfs_receive_corrective.ksh | 46 backup=$TEST_BASE_DIR/backup 53 log_must rm -f $backup $raw_backup $ibackup $unc_backup 102 log_must eval "zfs send $TESTPOOL/$TESTFS1@snap1 > $backup" 113 test_corrective_recv $TESTPOOL/$TESTFS1@snap1 $backup 121 $TESTPOOL/$TESTFS2 < $backup" 127 test_corrective_recv "$TESTPOOL/$TESTFS2@snap1" $backup 142 $TESTPOOL/testfs4 < $backup" 148 test_corrective_recv "$TESTPOOL/testfs4@snap1" $backup 153 $TESTPOOL/testfs5 < $backup" 158 log_must eval "zfs send $TESTPOOL/testfs5@snap1 > $backup" [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/rtc/ |
H A D | rtc-palmas.txt | 10 - ti,backup-battery-chargeable: The Palmas series device like TPS65913 or 11 TPS80036 supports the backup battery for powering the RTC when main 12 battery is removed or in very low power state. The backup battery 16 - ti,backup-battery-charge-high-current: Enable high current charging in 17 backup battery. Device supports the < 100uA and > 100uA charging. 28 ti,backup-battery-chargeable; 29 ti,backup-battery-charge-high-current;
|
/freebsd/usr.bin/patch/ |
H A D | patch.1 | 33 .Op Fl B Ar backup-prefix 43 .Op Fl z Ar backup-ext 90 .Fl B Ar backup-prefix , 91 .Fl Fl prefix Ar backup-prefix 93 Causes the next argument to be interpreted as a prefix to the backup file 98 .It Fl b , Fl Fl backup 99 Save a backup copy of the file before it is modified. 100 By default the original file is saved with a backup extension of 102 unless the file already has a numbered backup, in which case a numbered 103 backup is made. [all …]
|
H A D | backupfile.c | 11 * backupfile.c -- make Emacs style backup file names 30 /* Which type of backup file names are generated. */ 35 * numbered) backup file name. 47 * Return the name of the new backup file for file FILE, allocated with 86 * Return the number of the highest-numbered backup file for file FILE in 133 * If BACKUP is a numbered backup of BASE, return its version number; 138 version_number(const char *base, const char *backup, size_t base_length) in version_number() argument 144 if (!strncmp(base, backup, base_length) && ISDIGIT(backup[base_length])) { in version_number() 145 for (p = &backup[base_length]; ISDIGIT(*p); ++p) in version_number() 229 * Return the type of backup indicated by VERSION. Unique abbreviations are
|
/freebsd/tests/sys/netinet/ |
H A D | tcp_connect_port_test.c | 83 /* Open the backup file, write the contents, and close it. */ in disable_random_ports() 87 warn("error opening sysctl backup file"); in disable_random_ports() 92 warn("error writing saved value to sysctl backup file"); in disable_random_ports() 97 "Error writing saved value to sysctl backup file: " in disable_random_ports() 103 warn("error closing sysctl backup file"); in disable_random_ports() 115 * Restore the sysctl value from the backup file and delete the backup file. 122 /* Open the backup file, read the contents, close it, and delete it. */ in restore_random_ports() 125 warn("error opening sysctl backup file"); in restore_random_ports() 130 warn("error reading saved value from sysctl backup file"); in restore_random_ports() 135 "Error reading saved value from sysctl backup file: " in restore_random_ports() [all …]
|
H A D | ip6_v4mapped_test.c | 115 /* Open the backup file, write the contents, and close it. */ in set_portrange() 119 warn("error opening sysctl backup file"); in set_portrange() 124 warn("error writing saved value to sysctl backup file"); in set_portrange() 129 "Error writing saved value to sysctl backup file: " in set_portrange() 135 warn("error closing sysctl backup file"); in set_portrange() 151 * Restore the sysctl values from the backup file and delete the backup file. 159 /* Open the backup file, read the contents, close it, and delete it. */ in restore_portrange() 162 warn("error opening sysctl backup file"); in restore_portrange() 167 warn("error reading saved values from sysctl backup file"); in restore_portrange() 172 "Error reading saved values from sysctl backup file: " in restore_portrange() [all …]
|
/freebsd/usr.sbin/periodic/ |
H A D | periodic.conf | 83 # 200.backup-passwd 84 daily_backup_passwd_enable="YES" # Backup passwd & group 86 # 210.backup-aliases 87 daily_backup_aliases_enable="YES" # Backup mail aliases 89 # 221.backup-gpart 91 # Backup partition table/boot partition/MBR 96 daily_backup_gpart_verbose="NO" # Be verbose if new backup differs from the old one 97 daily_backup_efi_enable="NO" # Backup EFI system partition (ESP) 99 # 222.backup-gmirror 100 daily_backup_gmirror_enable="NO" # Backup of gmirror info (i.e., output of `gmirror list`) [all …]
|
/freebsd/contrib/netbsd-tests/net/ |
H A D | net_common.sh | 112 local backup=$RUMP_SERVER 120 export RUMP_SERVER=$backup 199 local backup=$RUMP_SERVER 204 export RUMP_SERVER=$backup 219 local backup=$RUMP_SERVER 244 export RUMP_SERVER=$backup 251 local backup=$RUMP_SERVER 257 export RUMP_SERVER=$backup 264 local backup=$RUMP_SERVER 279 export RUMP_SERVER=$backup
|
/freebsd/usr.sbin/periodic/etc/daily/ |
H A D | 221.backup-gpart | 4 ## Backup of disk partitions layout, useful for gpart restore. 5 ## Data are stored on local filesystem, in /var/backup. 64 echo "Backup of partitions information for:"; 69 gpart backup "$d" > "$bak_dir/$safe_name.tmp" 77 echo "Backup of boot partition content:" 89 echo "Backup of MBR record:" 111 echo "Backup of EFI partition content:"
|
H A D | Makefile | 11 200.backup-passwd \ 12 210.backup-aliases \ 13 221.backup-gpart \ 14 222.backup-gmirror \ 63 CONFS+= 223.backup-zfs \
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/procfs/ |
H A D | pool_state.ksh | 59 if [ -n "$BACKUP" ] ; then 60 gunzip -c $BACKUP > $REALDISK 61 log_must rm -f $BACKUP 131 # Backup the contents of the disk image 132 BACKUP=$TEST_BASE_DIR/kstat-state-realdisk.gz 133 log_must [ ! -e $BACKUP ] 134 gzip -c $REALDISK > $BACKUP
|
/freebsd/tools/test/stress2/misc/ |
H A D | fsck14.sh | 44 backup=/tmp/$prog.sh.diskimage.`date +%Y%m%dT%H%M%S`.gz 58 gzip < $diskimage > $backup 59 fsync $diskimage $backup 71 rm -f $log /tmp/flip $diskimage $backup 83 rm -f $log /tmp/flip $diskimage $backup 90 rm -f $log /tmp/flip $diskimage $backup 118 rm -f $log /tmp/flip $diskimage $backup
|
/freebsd/contrib/netbsd-tests/sbin/gpt/ |
H A D | t_gpt.sh | 188 atf_set "descr" "Backup 2 partition disk" 193 save test.backup gpt backup "$disk" 194 file "$src/gpt.backup" sed -e "s/$uuid/$zero/g" "test.backup" 204 save test.backup gpt backup "$disk" 206 silence gpt restore -i test.backup "$disk" 212 atf_set "descr" "Recover the backup GPT header and table"
|
/freebsd/sys/ddb/ |
H A D | db_input.c | 77 #define BACKUP '\b' macro 113 db_putnchars(BACKUP, n); in db_delete() 120 db_putnchars(BACKUP, db_le - db_lc); in db_delete() 169 cnputc(BACKUP); in db_inputchar() 183 cnputc(BACKUP); in db_inputchar() 223 cnputc(BACKUP); in db_inputchar() 224 cnputc(BACKUP); in db_inputchar() 247 db_putnchars(BACKUP, db_le - db_lc); in db_inputchar() 275 db_putnchars(BACKUP, db_lc - db_lbuf_start); in db_inputchar() 277 db_putnchars(BACKUP, db_le - db_lbuf_start); in db_inputchar() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | send_raw_large_blocks.ksh | 46 backup=$TEST_BASE_DIR/backup 51 log_must rm -f $backup $raw_backup $ibackup $unc_backup 71 log_must eval "zfs send -L pool_lb/fs@snap1 > $backup" 74 -o recordsize=1m pool_lb/testfs5 < $backup"
|
/freebsd/sbin/restore/ |
H A D | restore.8 | 73 A full backup of a file system may be restored and 193 before starting the restoration of the initial level 0 backup. 233 on the backup. 237 backup being listed, 249 are on the backup 259 backup being extracted, 283 Read the backup from 310 as the input for every volume in the backup. 367 Device from which to read backup. 393 If a backup was made using more than one tape volume,
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_missing_002_pos.ksh | 133 typeset basedir backup 146 backup="" 160 [[ -n $backup ]] && \ 171 # Backup all device files while filesystem prepared. 173 if [[ -z $backup ]] ; then 176 backup="true"
|
H A D | zpool_import_missing_001_pos.ksh | 119 typeset basedir backup 127 backup="" 143 [[ -n $backup ]] && \ 153 # Backup all device files while filesystem prepared. 155 if [[ -z $backup ]]; then 158 backup="true"
|
/freebsd/contrib/kyua/store/ |
H A D | migrate_test.cpp | 51 ATF_REQUIRE(fs::exists(fs::path("test.db.v13.backup"))); in ATF_TEST_CASE_BODY() 52 ATF_REQUIRE(atf::utils::compare_file("test.db.v13.backup", "The DB\n")); in ATF_TEST_CASE_BODY() 60 atf::utils::create_file("test.db.v1.backup", "Overwrite me"); in ATF_TEST_CASE_BODY() 63 ATF_REQUIRE(fs::exists(fs::path("test.db.v1.backup"))); in ATF_TEST_CASE_BODY() 64 ATF_REQUIRE(atf::utils::compare_file("test.db.v1.backup", in ATF_TEST_CASE_BODY() 88 store::error, "Cannot create.*dir/test.db.v13.backup", in ATF_TEST_CASE_BODY()
|
/freebsd/stand/libsa/ |
H A D | gpt.c | 59 * We need to update the following for both primary and backup GPT: in gptupdate() 176 gptupdate("backup", dskp, &hdr_backup, table_backup); in gptfind() 227 gptupdate("backup", dskp, &hdr_backup, table_backup); in gptbootfailed() 326 * Read and verify both GPT headers: primary and backup. in gptread() 344 * If primary header is valid, we can get backup in gptread() 354 printf("%s: unable to locate backup GPT header\n", BOOTPROG); in gptread() 355 else if (gptread_hdr("backup", dskp, &hdr_backup, altlba) == 0 && in gptread() 356 gptread_table("backup", dskp, &hdr_backup, table_backup) == 0) { in gptread() 361 printf("%s: using backup GPT\n", BOOTPROG); in gptread() 377 gptbootconv("backup", dskp, &hdr_backup, table_backup); in gptread()
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | bd9571mwv.txt | 28 - rohm,ddr-backup-power : Value to use for DDR-Backup Power (default 0). 30 rails need to be kept powered when backup mode is 57 rohm,ddr-backup-power = <0xf>;
|
/freebsd/share/man/man5/ |
H A D | freebsd-update.conf.5 | 80 will create a backup of the old kernel before installing a new kernel. 81 This backup kernel can be used to recover a system where the newly 83 Note that the backup kernel is not reverted to its original state by 88 This keyword sets the directory which is used to store a backup 113 will also backup kernel symbol files, if they exist. 117 backup kernel, the
|