Backups Flashcards

1
Q

Which command can be used to compare previous configurations?

A
# compare [tab]
The above will provide options of what to compare, ie. 

vyos@vyos# compare [tab]
Possible completions:
Compare working & active configurations
saved Compare working & saved configurations
Compare working with revision N
Compare revision N with M
Revisions:
0 2013-12-17 20:01:37 root by boot-config-loader
1 2013-12-13 15:59:31 root by boot-config-loader
2 2013-12-12 21:56:22 vyos by cli
3 2013-12-12 21:55:11 vyos by cli
4 2013-12-12 21:27:54 vyos by cli
5 2013-12-12 21:23:29 vyos by cli
6 2013-12-12 21:13:59 root by boot-config-loader
7 2013-12-12 16:25:19 vyos by cli
8 2013-12-12 15:44:36 vyos by cli
9 2013-12-12 15:42:07 root by boot-config-loader
10 2013-12-12 15:42:06 root by init

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to rollback to a different configuration?

A

You can rollback configuration using the rollback command, however this command will currently trigger a system reboot.

vyos@vyos# compare 1
[edit system]
>host-name vyos-1
[edit]

vyos@vyos# rollback 1
Proceed with reboot? [confirm][y]
Broadcast message from root@vyos-1 (pts/0) (Tue Dec 17 21:07:45 2013):
The system is going down for reboot NOW!
[edit]

vyos@vyos#

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to save configuration using scp, ftp, tftp?

A

VyOS also supports saving and loading configuration remotely using SCP, FTP, or TFTP.

vyos@vyos# save [tab]

Possible completions:
Save to system config file
Save to file on local machine
scp://:@/ Save to file on remote machine
ftp://:@/ Save to file on remote machine
tftp:/// Save to file on remote machine

vyos@vyos# save tftp://192.168.0.100/vyos-test.config.boot
Saving configuration to ‘tftp://192.168.0.100/vyos-test.config.boot’…
######################################################################## 100.0%
Done

How well did you know this?
1
Not at all
2
3
4
5
Perfectly