Home / Community / Blog / Rename a host in BackupPC

Rename a host in BackupPC

If you have to rename host in BackupPC you have to:

  1. Stop BackupPC service:
    systemctl stop backuppc
    
  2. Change the host name in host file (/etc/backuppc/hosts) to new name
  3. Rename the pl file in pc folder (/etc/backuppc/pc), ie:
    cd /etc/backuppc/pc
    mv oldname.pl newname.pl
    
  4. Rename directory in the backup location (I my case backup is storing in the location /data/BackupPC)
    cd /data/BackupPC/pc/
    mv oldname newname
    
  5. Start BackupPC service
    systemctl start backuppc
    
  6. Pray
  7. Check if it works

Kommentare

Bitte melden Sie sich Logan oder registrieren Sie sich um kommentieren zu können.

Just my blog...

Mon Di Mi Do Fr Sa So
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31