Backup data after importing new templates

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Nadou21
Posts: 15
Joined: Tue Mar 09, 2021 11:33 am

Backup data after importing new templates

Post by Nadou21 »

Hi all,

I have imported a device template to my cacti in dev environment, which changed other configurations in data templates, graph templates and data query.
So I want to restore what I had before the import. And I want to know if this impacts only the database or also the system files.

Here's the data that has been updated since the import.

Code: Select all

Data template:
	Interface - Traffic
	Interface - Errors/Discards
	Interface - Unicast Packets
	Interface - Non-Unicast Packets
	
	
	Graph Template
	Interface - Traffic (bits/sec)
	Interface - Errors/Discards
	Interface - Unicast Packets
	Interface - Non-Unicast Packets
	Interface - Traffic (bytes/sec)
	Interface - Traffic (bits/sec, Total Bandwidth)
	Interface - Traffic (bytes/sec, Total Bandwidth)
	
	
	Data Query
	SNMP - Interface Statistics
I'm actually new to cacti and I'd appreciate some help.
Thank's
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Backup data after importing new templates

Post by TheWitness »

There is an import_package.php script that can re-import the packages in the install/templates directory. Otherwise, restore your Cacti basebase from the last known good backup.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests