LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-13-2022, 11:33 PM   #1
rdahal
LQ Newbie
 
Registered: Jan 2016
Posts: 10

Rep: Reputation: Disabled
Backup and restore ip routes in ubuntu.


I am running an Ubuntu server running on Ubuntu-20.04. I have multiple static routes defined on it. Is there any way or tool that helps to backup the route table and restore it?

Thanks in advance.
 
Old 11-14-2022, 04:42 PM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
LMGTFY

A very quick search for "ip routing table ubuntu 20.04" gave me this as the first hit.
https://ubuntu.com/core/docs/network...routing-tables

A simple script with your table values in a config file you create can do exactly what you ask.

Last edited by computersavvy; 11-14-2022 at 04:46 PM.
 
  


Reply

Tags
backups, networking, route table, routes, ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] backup utility in Linux Lite, will not restore backup. dmad71 Linux - Software 5 07-17-2018 07:38 AM
[SOLVED] Backup, shrink backup and modify MBR of backup jps1x2 Linux - General 1 12-17-2013 05:03 AM
LXer: Backup and Restore Software in Ubuntu, Sabayon, and Fedora LXer Syndicated Linux News 0 05-14-2012 03:50 PM
iptables-restore ubuntu server does not restore at boot R03L Ubuntu 4 02-09-2010 08:14 PM
Static routes using routes/ifroutes-eth-id.. files and default gateway disabled TimtheEagle Linux - Networking 0 05-31-2008 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration