navi homePPSaboutscreenshotsdownloaddevelopmentforum

Opened 4 years ago

Closed 4 years ago

#479 closed task (fixed)

Find all configuration files containing backup-domain data

Reported by: lferran Owned by: lferran
Priority: minor Milestone: IT: Server Migration
Component: IT Version:
Keywords: Cc:
Referenced By: References:


After a new snapshot has been installed in the backup server, we need to change all configuration files of all servers from .net to .info.

Change History (2)

comment:1 Changed 4 years ago by lferran

Here comes a script that generates the list of all files that must be modified to that effect:

# Result file
echo "dc=net to dc=info ------------------------- " >> ~/results.txt
sudo rgrep -El 'dc=net' /etc/ | grep -v '~' >> ~/results.txt

echo " to ----------- " >> ~/results.txt
sudo rgrep -El '37\.120\.188\.187' /etc/ | grep -v '~' >> ~/results.txt

# and so on for other patterns such as to

comment:2 Changed 4 years ago by lferran

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.